Browse Source

Merge branch 'master-jdk17' of https://github.com/YunaiV/ruoyi-vue-pro into master-jdk17

YunaiV 6 months ago
parent
commit
539746d1d8

+ 2 - 0
yudao-module-infra/src/main/resources/codegen/vue3/views/index.vue.vm

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