Merge pull request #8414 from dataease/pr@dev-v2@refactor_workbranch

refactor(工作台): 当模板管理新添加分类成功后,分类列表中默认选中新添加的分类
This commit is contained in:
王嘉豪 2024-03-08 10:56:57 +08:00 committed by GitHub
commit 79212703b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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()
})