From 098d3347a0df808908aab8c554cd7c4febc5e6d9 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期一, 26 八月 2024 11:43:59 +0800 Subject: [PATCH] !577 发布 5.2.2 正式版 安全性提升 Merge pull request !577 from 疯狂的狮子Li/dev --- ruoyi-modules/ruoyi-generator/src/main/resources/vm/ts/types.ts.vm | 24 ++++++++++++++++++++++-- 1 files changed, 22 insertions(+), 2 deletions(-) diff --git a/ruoyi-modules/ruoyi-generator/src/main/resources/vm/ts/types.ts.vm b/ruoyi-modules/ruoyi-generator/src/main/resources/vm/ts/types.ts.vm index 479298d..35a468e 100644 --- a/ruoyi-modules/ruoyi-generator/src/main/resources/vm/ts/types.ts.vm +++ b/ruoyi-modules/ruoyi-generator/src/main/resources/vm/ts/types.ts.vm @@ -1,6 +1,6 @@ export interface ${BusinessName}VO { #foreach ($column in $columns) -#if($column.insert || $column.edit) +#if($column.list) /** * $column.columnComment */ @@ -9,11 +9,23 @@ #elseif($column.javaType == 'Boolean') boolean; #else string; #end +#if($column.htmlType == "imageUpload") + /** + * ${column.columnComment}Url + */ + ${column.javaField}Url: string; #end +#end +#end +#if ($table.tree) + /** + * 瀛愬璞� + */ + children: ${BusinessName}VO[]; #end } -export interface ${BusinessName}Form extends BaseEntity{ +export interface ${BusinessName}Form extends BaseEntity { #foreach ($column in $columns) #if($column.insert || $column.edit) /** @@ -29,6 +41,7 @@ } export interface ${BusinessName}Query #if(!${treeCode})extends PageQuery #end{ + #foreach ($column in $columns) #if($column.query) /** @@ -41,4 +54,11 @@ #end #end #end + /** + * 鏃ユ湡鑼冨洿鍙傛暟 + */ + params?: any; } + + + -- Gitblit v1.9.3