form表单内部变化watch监听

  watch: {
    form: {
      deep: true,
      handler(newval) {
        this.tzinfo = false
      }
    }
  },

//具体到表单内某个值

  watch: {
    'form.sfyj': {
      deep: true,
      handler(newval) {
        this.tzinfo = false
      }
    }
  },

posted @ 2020-09-01 16:50  wwj007  阅读(3005)  评论(0编辑  收藏  举报
……