Commit 243ec76df958f479fef9dd0f3ec03b554d25cd56
1 parent
2c41d562
fix: 重置 currentRow 时没有对模板类型进行判断
Showing
1 changed file
with
2 additions
and
0 deletions
yudao-module-infra/src/main/resources/codegen/vue3/views/index.vue.vm
| @@ -353,7 +353,9 @@ const handleDelete = async (id: number) => { | @@ -353,7 +353,9 @@ const handleDelete = async (id: number) => { | ||
| 353 | // 发起删除 | 353 | // 发起删除 |
| 354 | await ${simpleClassName}Api.delete${simpleClassName}(id) | 354 | await ${simpleClassName}Api.delete${simpleClassName}(id) |
| 355 | message.success(t('common.delSuccess')) | 355 | message.success(t('common.delSuccess')) |
| 356 | +#if ( $table.templateType == 11 ) | ||
| 356 | currentRow.value = {} | 357 | currentRow.value = {} |
| 358 | +#end | ||
| 357 | // 刷新列表 | 359 | // 刷新列表 |
| 358 | await getList() | 360 | await getList() |
| 359 | } catch {} | 361 | } catch {} |