Checkbox 勾上 不让勾下 同步手动刷新复选框状态 iview

 

<Checkbox
                        v-show="!disabledForm"
                        ref="youwubianhuaRef"
                        :value="youwubianhua"
                        @input="youwubianhuaInputHandle">无变化</Checkbox>

this.youwubianhua = false
this.$refs.youwubianhuaRef.updateModel()

记得nextTick

 

posted @ 2019-10-24 15:13  彭成刚  阅读(572)  评论(0编辑  收藏  举报