From 6d2cc6e87d609589a23ea8e95331bb64a1a9a88c Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期五, 21 六月 2024 14:59:50 +0800 Subject: [PATCH] update 优化 替换过期方法 --- ruoyi-modules/ruoyi-generator/src/main/resources/vm/ts/types.ts.vm | 18 ++++++++++++++++-- 1 files changed, 16 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..c3f6ed1 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 */ @@ -11,9 +11,15 @@ #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 +35,7 @@ } export interface ${BusinessName}Query #if(!${treeCode})extends PageQuery #end{ + #foreach ($column in $columns) #if($column.query) /** @@ -41,4 +48,11 @@ #end #end #end + /** + * 鏃ユ湡鑼冨洿鍙傛暟 + */ + params?: any; } + + + -- Gitblit v1.9.3