关于vue.js:elementUI编辑时清除表单检验

3次阅读

共计 192 个字符,预计需要花费 1 分钟才能阅读完成。

clearvali() {this.$refs.form.clearValidate()
     },
   handleEdit(row) {
       this.open = true
       this.title = '批改工作类型'
       console.log('row', row)
       this.getDetail(row.id)
       if (this.$refs['form'] !== undefined) {this.clearvali()
       }
     },
正文完
 0