摘要: 基本用法: 当fullName值变化时,watch监听到并且执行 FullName: {{fullName}} FirstName: new Vue({ el: ' root', data: { firstName: 'Dawei', lastName: 'Lou', fullName: '' }, 阅读全文
posted @ 2019-08-06 18:42 一只奋斗的蜗牛 阅读(2241) 评论(0) 推荐(0) 编辑
摘要: 项目中通过this.$router.push路由跳转页面传递参数的方式很常见,一般有两种方式: 1.params传参: this.$router.push({name:'parasetEdit',params:{pk_refinfo:'test',value:'test1'}}); 目标页面接收参数 阅读全文
posted @ 2019-08-06 18:40 一只奋斗的蜗牛 阅读(4909) 评论(0) 推荐(0) 编辑