增加清理校验功能 (#104)
Co-authored-by: 尼古拉斯德彪 <gaohailong@nigulasideMacBook-Pro.local>
This commit is contained in:
@@ -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()
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 重置数据状态
|
||||
|
||||
Reference in New Issue
Block a user