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