fix: 模版管理 删除bug

This commit is contained in:
dataeaseShu 2022-08-31 21:30:18 +08:00
parent 807a78bec0
commit f5bdc4aa29

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 = [];