vue获取本地json,一直404
文件位置
代码
Vue.prototype.$http = axios this.$http.get('/src/api/testJson.json').then(response => { console.log(response) }, response => { // error callback })
拉风的咖菲猫
相关分类