mirror of
https://github.com/YunaiV/ruoyi-vue-pro.git
synced 2026-04-19 02:57:27 +00:00
fix: 重置 currentRow 时没有对模板类型进行判断
This commit is contained in:
@@ -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 {}
|
||||
|
||||
Reference in New Issue
Block a user