From f5bdc4aa29a4e78decbcc606da11b3aad2624303 Mon Sep 17 00:00:00 2001 From: dataeaseShu <106045316+dataeaseShu@users.noreply.github.com> Date: Wed, 31 Aug 2022 21:30:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A8=A1=E7=89=88=E7=AE=A1=E7=90=86=20?= =?UTF-8?q?=E5=88=A0=E9=99=A4bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/panel/template/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/panel/template/index.vue b/frontend/src/views/panel/template/index.vue index 49d7028e63..18b5a0d33a 100644 --- a/frontend/src/views/panel/template/index.vue +++ b/frontend/src/views/panel/template/index.vue @@ -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 = [];