Commit 2f57733b by fukai

兼容性支持

parent 873e0b0c
......@@ -48,6 +48,9 @@ export default {
},
showBackendErrors(fieldErrors){
// 清除之前的校验状态
if(!this.getRoot().$refs.modelForm){
return
}
this.getRoot().$refs.modelForm.clearValidate();
const fields = this.getRoot().$refs.modelForm.fields;
Utils.positioningErrorMsg(fieldErrors, fields);
......
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