fix(系统设置): 控制台报错

This commit is contained in:
shiziyuan9527 2022-11-15 18:17:34 +08:00 committed by lyh
parent abafe7ee38
commit ac5b1de929
1 changed files with 3 additions and 1 deletions

View File

@ -83,7 +83,9 @@ export default {
}
this.formInline = res.data;
this.$nextTick(() => {
this.$refs.formInline.clearValidate();
if (this.$refs.formInline) {
this.$refs.formInline.clearValidate();
}
})
});
},