摘要: 如何通过$router.push传参数 下面通过A页面向B页面传值来举个例子: //A页面: this.$router.push({ name: '页面B', params: { data: '我是要传递的参数' } }) //B页面拿到传来的值: this.data = this.$route.p 阅读全文
posted @ 2023-03-10 15:33 smil、梵音 阅读(306) 评论(0) 推荐(0) 编辑