Commit 1cedcf59 by 尼古拉斯德彪 Committed by GitHub

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

Co-authored-by: 尼古拉斯德彪 <gaohailong@nigulasideMacBook-Pro.local>
parent c98ef87a
......@@ -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()
}
},
/**
* 重置数据状态
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment