fix: 模版管理 删除bug

This commit is contained in:
dataeaseShu 2022-08-31 21:30:18 +08:00
parent 79be6b3c66
commit 948f48a2e0

View File

@ -257,7 +257,7 @@ export default {
if (id) {
templateDelete(id).then((response) => {
this.openMessageSuccess("commons.delete_success");
this.getTree();
this.showCurrentTemplate(this.currentTemplateId, this.currentTemplateLabel);
});
}
},
@ -343,7 +343,7 @@ export default {
this.$refs.templateList.nodeClick(obj);
});
} else {
this.showCurrentTemplate(this.currentTemplateId);
this.showCurrentTemplate(this.currentTemplateId, this.currentTemplateLabel);
}
} else {
this.currentTemplateShowList = [];