vue获取本地json,一直404文件位置代码 Vue.prototype.$http = axios this.$http.get('/src/api/testJson.json').then(response => { console.log(response)
}, response => { // error callback
})
添加回答
举报
0/150
提交
取消