vue获取本地json,一直404


文件位置

代码
Vue.prototype.$http = axios this.$http.get('/src/api/testJson.json').then(response => { console.log(response)
}, response => { // error callback
})
一只甜甜圈
拉风的咖菲猫
随时随地看视频慕课网APP
相关分类