mirror of
https://github.com/dataease/dataease.git
synced 2026-05-16 05:50:45 +08:00
fix: 模版管理 删除bug
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user