elementUI编辑时清除表单检验
文章目录
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()
}
},
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论