关于vue-cli3引用本地json文件报错的问题
关于vue-cli3引用本地json文件报错的问题报错信息:
报错信息:
GET http://localhost:8080/cities.json 404 (Not Found)
createError.js?2d83:16 Uncaught (in promise) Error: Request failed with status code 404
at createError
at settle
at XMLHttpRequest.handleLoad
这是我用axios请求放在和入口文件同级别下的
原创
2021-04-08 11:12:08 ·
612 阅读 ·
0 评论