iview Checkbox 多选框 单个的时候 如果需要change 以后进行赋值 就要用value 不要用v-modal 然后用updateModel 方法

 

noSuchSituationSetFalse () {
      this.noSuchSituationOne = false
      this.$refs.noSuchSituationRef.updateModel()
      this.noSuchSituationHandleAPI('0')
    },
    noSuchSituationSetTrue () {
      this.noSuchSituationOne = true
      this.$refs.noSuchSituationRef.updateModel()
      this.noSuchSituationHandleAPI('1')
    },

 

posted @ 2019-08-15 11:30  彭成刚  阅读(1029)  评论(1编辑  收藏  举报