fix: 重置 currentRow 时没有对模板类型进行判断
This commit is contained in:
parent
2c41d5622c
commit
243ec76df9
@ -353,7 +353,9 @@ const handleDelete = async (id: number) => {
|
|||||||
// 发起删除
|
// 发起删除
|
||||||
await ${simpleClassName}Api.delete${simpleClassName}(id)
|
await ${simpleClassName}Api.delete${simpleClassName}(id)
|
||||||
message.success(t('common.delSuccess'))
|
message.success(t('common.delSuccess'))
|
||||||
|
#if ( $table.templateType == 11 )
|
||||||
currentRow.value = {}
|
currentRow.value = {}
|
||||||
|
#end
|
||||||
// 刷新列表
|
// 刷新列表
|
||||||
await getList()
|
await getList()
|
||||||
} catch {}
|
} catch {}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user