Merge pull request #1009 from DevDengChao/fix/current-row

fix: 重置 currentRow 时没有对模板类型进行判断
This commit is contained in:
芋道源码 2025-11-21 16:34:41 +08:00 committed by GitHub
commit 9061706cc2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -353,7 +353,9 @@ const handleDelete = async (id: number) => {
// 发起删除
await ${simpleClassName}Api.delete${simpleClassName}(id)
message.success(t('common.delSuccess'))
#if ( $table.templateType == 11 )
currentRow.value = {}
#end
// 刷新列表
await getList()
} catch {}