摘要: a.vue向b.vue传值 a.vue this.$router.push({ path: '/payType', query: { putUpList: this.putUpList, name:'111' }, params:{ cartList: this.cartList, totalMoney: this.totalMoney } }); b.vue mounted:function() 阅读全文
posted @ 2019-09-23 18:05 青竹玉简 阅读(5349) 评论(0) 推荐(0) 编辑
摘要: 第一步:添加需要拦截的页面 第二步:页面拦截 第三步:后台返回拦截 拦截全部做完,祝你好运!!! { path: '/control', name: 'Control', meta: { requireAuth: true }, { path: '/control', name: 'Control' 阅读全文
posted @ 2019-09-23 15:56 青竹玉简 阅读(1752) 评论(0) 推荐(0) 编辑