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 |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 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 c67454b..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
@@ -11,6 +11,12 @@
                     #end
 #end
 #end
+#if ($table.tree)
+    /**
+     * 瀛愬璞�
+     */
+    children: ${BusinessName}VO[];
+#end
 }
 
 export interface ${BusinessName}Form extends BaseEntity {
@@ -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