forked from github/dataease
Merge pull request #3202 from dataease/pr@dev@fix_template-manage
fix(模板管理): 修复删除模板分类列表未刷新问题
This commit is contained in:
commit
5969ded4a9
@ -24,7 +24,7 @@
|
||||
ref="templateList"
|
||||
:template-type="currentTemplateType"
|
||||
:template-list="templateList"
|
||||
@templateDelete="templateDelete"
|
||||
@templateDelete="templateFolderDelete"
|
||||
@templateEdit="templateEdit"
|
||||
@showCurrentTemplate="showCurrentTemplate"
|
||||
@templateImport="templateImport"
|
||||
@ -253,6 +253,14 @@ export default {
|
||||
});
|
||||
}
|
||||
},
|
||||
templateFolderDelete(id) {
|
||||
if (id) {
|
||||
templateDelete(id).then((response) => {
|
||||
this.openMessageSuccess("commons.delete_success");
|
||||
this.getTree()
|
||||
});
|
||||
}
|
||||
},
|
||||
templateDelete(id) {
|
||||
if (id) {
|
||||
templateDelete(id).then((response) => {
|
||||
|
Loading…
Reference in New Issue
Block a user