2019年7月26日

摘要: 一、取消请求 const cancelToken = axios.CancelToken const source = cancelToken.source() //创建请求标识 this.source = source //将标识存储到vue对象 axios的请求配置config中配置属性canc 阅读全文
posted @ 2019-07-26 15:53 小肥猪。 阅读(952) 评论(0) 推荐(0) 编辑
摘要: 一、html页面中如何使用 1、引入 vue-router.js 2、安装插件 Vue.use(VueRouter) 3、创建路由对象 var router = new VueRouter({ // 4、配置路由 routes:[{ path:'/login', component:Login // 阅读全文
posted @ 2019-07-26 10:10 小肥猪。 阅读(625) 评论(0) 推荐(0) 编辑
摘要: vue教程 阅读全文
posted @ 2019-07-26 08:50 小肥猪。 阅读(185) 评论(0) 推荐(0) 编辑

导航