fix: 重置 currentRow 时没有对模板类型进行判断

This commit is contained in:
DevDengChao
2025-11-06 14:37:00 +08:00
parent 2c41d5622c
commit 243ec76df9

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 {}