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 | 21 +++++++++++++++++---- 1 files changed, 17 insertions(+), 4 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 06e4000..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 @@ -9,7 +9,19 @@ #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 } @@ -29,10 +41,7 @@ } export interface ${BusinessName}Query #if(!${treeCode})extends PageQuery #end{ - /** - * 鏃ユ湡鑼冨洿鍙傛暟 - */ - params?: any; + #foreach ($column in $columns) #if($column.query) /** @@ -45,6 +54,10 @@ #end #end #end + /** + * 鏃ユ湡鑼冨洿鍙傛暟 + */ + params?: any; } -- Gitblit v1.9.3