From 1bdde35dc9cf895687e5f8d6081d0e0e7ed587d9 Mon Sep 17 00:00:00 2001 From: xingyu4j Date: Tue, 6 Dec 2022 14:12:43 +0800 Subject: [PATCH] fix: codegen --- yudao-dependencies/pom.xml | 2 +- .../src/main/resources/codegen/vue3/views/data.ts.vm | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/yudao-dependencies/pom.xml b/yudao-dependencies/pom.xml index 82782c8c0..26547af01 100644 --- a/yudao-dependencies/pom.xml +++ b/yudao-dependencies/pom.xml @@ -50,7 +50,7 @@ 1.2.83 31.1-jre 5.1.0 - 2.14.0 + 2.14.2 3.8.0 0.1.55 2.5.0 diff --git a/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/data.ts.vm b/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/data.ts.vm index 88a3912b9..6e1e723b8 100644 --- a/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/data.ts.vm +++ b/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/data.ts.vm @@ -28,6 +28,9 @@ const crudSchemas = reactive({ { title: '${column.columnComment}', field: '${column.javaField}', + #if (!$column.listOperationResult) + isTable: false, + #end #if ("" != $dictType)## 有数据字典 dictType: DICT_TYPE.$dictType.toUpperCase(), #if (${column.javaType.toLowerCase()} == "long" || ${column.javaType.toLowerCase()} == "integer") @@ -76,7 +79,7 @@ const crudSchemas = reactive({ }, #end #end - #if ($column.listOperationResult) + #if ($column.listOperation) #if($column.htmlType == "input") isSearch: true, #elseif("" != $dictType)