增加清理校验功能 (#104)

Co-authored-by: 尼古拉斯德彪 <gaohailong@nigulasideMacBook-Pro.local>
This commit is contained in:
尼古拉斯德彪
2020-11-09 20:04:28 +08:00
committed by GitHub
parent c98ef87a9b
commit 1cedcf59d8

View File

@@ -406,6 +406,10 @@ function CRUD(options) {
Vue.set(crudFrom, key, form[key])
}
}
// add by ghl 2020-10-04 页面重复添加信息时,下拉框的校验会存在,需要找工取消
if (crud.findVM('form').$refs['form']) {
crud.findVM('form').$refs['form'].clearValidate()
}
},
/**
* 重置数据状态