How to view the analog interface data given by the iview-admin official documentation

when you look at the iview-admin source code, you can see that the data in the frame is simulated, such as the data filled in table
method:
export const getTableData = () = > {
return axios.request ({

)
url: "get_table_data",
method: "get"

})
}
also gives baseUrl:
baseUrl: {

dev: "https://www.easy-mock.com/mock/5add9213ce4d0e69998a6f51/iview-admin/",
pro: "https://produce.com"

}
but I use url: https://www.easy-mock.com/moc., but instead of getting the data, I report an error:
HTTP/1.1 404 Not Found
Connection: keep-alive
Content-Length: 21
Content-Type: application/json;. Charset=utf-8
Date: Thu, 27 Sep 2018 13:27:46 GMT
Rate-Limit-Remaining: 0
Rate-Limit-Reset: 1538054867
Rate-Limit-Total: 2
Server: Tengine
Vary: Accept, Origin
Xmuri RequestMuId: 29031c4b-fa59-4cc7-9b04-309b6ec7ee9d

{
"error": "Not Found"
}
how to get the test data of table

Jul.20,2021

the local mock.js used by iview-admin to intercept requests does not use easy-mock, this url is just written, but actually uses mock.js

  • Page problem of vue iview

    as shown in the figure, when I click on the number of pages, I actually go to the background to paginate the query. When I click on the second page, there are six pieces of data. When I click on the query above, I re-ajax the request. At this time, t...

    Mar.13,2021
  • How to update chart data dynamically in Iview-admin

    uses iview-admin as the front-end template. I don t know much about the front-end. Currently, I want to request the data to be updated to the chart through api, but the echart in iview-admin seems to have been instantiated and the data cannot be changed...

    Feb.18,2022
Menu