摘要: 1.使用 vue-axios vue.use(VueAxios, axios) 通过this.axios访问 2.使用vue-axios 不能 axios.create({}),需要 axios.defaults.baseURL = '/api' axios.defaults.timeout = 8 阅读全文
posted @ 2020-09-23 14:15 林下书湘 阅读(401) 评论(0) 推荐(0) 编辑