摘要: 1.Vue单页面使用路由 1>跳转路由给url中添加参数:router.push({ name: 'Paymethod', query:{m:true}}); 2>跳转后获取url中的参数:this.$route.query.m. 3>vuex中有四个文件:action.js >mutations. 阅读全文
posted @ 2017-06-22 22:50 widem 阅读(305) 评论(0) 推荐(0)