优化代码

This commit is contained in:
lVAL 2021-02-26 09:33:45 +08:00
parent fa8766a2af
commit 501c79f477

View File

@ -260,7 +260,7 @@ export default {
this.$message.error(this.$t('error.failedToObtainTrainingType')); this.$message.error(this.$t('error.failedToObtainTrainingType'));
} }
}, },
typeChoose(form, isClean = true) { async typeChoose(form, isClean = true) {
this.queryForm.queryObject.operateType.config.data = []; this.queryForm.queryObject.operateType.config.data = [];
if (isClean) { if (isClean) {
form.operateType = ''; form.operateType = '';