watch:{
branchNum:function (value) {
if(value!=0){
this.limitNum = value;
if(value == 1){
this.defaultData = "A";
}else if(value>=2){
this.defaultData = "B";
}
this.filterDefauleList = this.defaultList.slice(0,this.limitNum);
}
},
defaultData:function (value) {
},
otherSampleListChecked:function () {
},
}我用v-model 监听了input radio 和select 的变化
添加回答
举报
0/150
提交
取消