Skip to content

Commit 7921270

Browse files
authored
Merge pull request dataease#8414 from dataease/pr@dev-v2@refactor_workbranch
refactor(工作台): 当模板管理新添加分类成功后,分类列表中默认选中新添加的分类
2 parents 68ab317 + 4696666 commit 7921270

File tree

1 file changed

+1
-1
lines changed
  • core/core-frontend/src/views/template

1 file changed

+1
-1
lines changed

core/core-frontend/src/views/template/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,12 +479,12 @@ const saveTemplateEdit = templateEditForm => {
479479
templateEditFormRef.value.validate(valid => {
480480
if (valid) {
481481
save({ ...templateEditForm }).then(response => {
482-
state.currentTemplateLabel = templateEditForm.name
483482
ElMessage({
484483
message: '添加成功',
485484
type: 'success',
486485
showClose: true
487486
})
487+
state.currentTemplateId = null
488488
getTree()
489489
close()
490490
})

0 commit comments

Comments
 (0)