摘要: 1、发送页面里面跳转函数写上 this.$router.push({ path: "/userinfo", query: { uid: index.account(参数) } }); 2、接受页面 beforeMount() { alert(this.$route.query.uid); // 在o 阅读全文
posted @ 2019-07-21 00:56 在学习编程的lsy呀 阅读(614) 评论(0) 推荐(0) 编辑
摘要: 1、定义 在main.js里面定义 Vue.prototype.$apiUrl = " http://xxxxxxxxxx"; 2、使用 在联调的时候 url: this.$apiUrl + "/xxxx(端口)" url: this.$apiUrl + "/xxxx(端口)" 阅读全文
posted @ 2019-07-21 00:19 在学习编程的lsy呀 阅读(1671) 评论(0) 推荐(0) 编辑