摘要:
1。在main.js中引入 axios 配置 baseURL Vue.prototype.$axios = axios axios.defaults.baseURL = '/api' //关键代码 2。在config文件夹下的index.js文件中的proxyTable字段中 module.expo 阅读全文
posted @ 2020-08-31 15:20
你的剧本
阅读(133)
评论(0)
推荐(0)
摘要:
1.配置路由缓存 keep-alive <div id="app"> <!--页面返回不刷新--> <keep-alive> <router-view v-if="$route.meta.keepAlive"></router-view> </keep-alive> <router-view v-i 阅读全文
posted @ 2020-08-31 15:04
你的剧本
阅读(267)
评论(0)
推荐(0)
浙公网安备 33010602011771号