forked from github/dataease
Merge pull request #8414 from dataease/pr@dev-v2@refactor_workbranch
refactor(工作台): 当模板管理新添加分类成功后,分类列表中默认选中新添加的分类
This commit is contained in:
commit
79212703b6
@ -479,12 +479,12 @@ const saveTemplateEdit = templateEditForm => {
|
||||
templateEditFormRef.value.validate(valid => {
|
||||
if (valid) {
|
||||
save({ ...templateEditForm }).then(response => {
|
||||
state.currentTemplateLabel = templateEditForm.name
|
||||
ElMessage({
|
||||
message: '添加成功',
|
||||
type: 'success',
|
||||
showClose: true
|
||||
})
|
||||
state.currentTemplateId = null
|
||||
getTree()
|
||||
close()
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user