(1)是否使用v-model双向绑定数据
(2)如果用v-mode双向绑定之后,还不能输入的解决方案是:
this.$forceUpdate() //手动更新视图
例子:
<el-input @input = “change($event)”>
mothods:{
change(e){
this.$forceUpdata();
}
}
(1)是否使用v-model双向绑定数据
(2)如果用v-mode双向绑定之后,还不能输入的解决方案是:
this.$forceUpdate() //手动更新视图
例子:
<el-input @input = “change($event)”>
mothods:{
change(e){
this.$forceUpdata();
}
}