浏览代码

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

YunaiV 6 月之前
父节点
当前提交
539746d1d8
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      yudao-module-infra/src/main/resources/codegen/vue3/views/index.vue.vm

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