1. computed 与watch一起使用
computed:{
rList(){
return this.list;
},
},
watch:{
rList:"rData", //变量:方法
}
2.优先
默认:computed、watch,不执行methods; 触发某一事件 :methods、watch
3.
标签:rList,return,computed,watch,list,methods
来源: https://www.cnblogs.com/lxq3280/p/16172760.html