From 450030321c79a8916ea8bce4a989408cc66d94be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Tue, 18 Jul 2023 14:15:12 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=20=E6=A0=91?= =?UTF-8?q?=E8=A1=A8=E7=94=9F=E6=88=90=E5=89=8D=E7=AB=AF=E7=BC=BA=E5=B0=91?= =?UTF-8?q?=20children=20=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ruoyi-gen/src/main/resources/vm/ts/types.ts.vm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ruoyi-modules/ruoyi-gen/src/main/resources/vm/ts/types.ts.vm b/ruoyi-modules/ruoyi-gen/src/main/resources/vm/ts/types.ts.vm index 99359e02..4e0ab5ee 100644 --- a/ruoyi-modules/ruoyi-gen/src/main/resources/vm/ts/types.ts.vm +++ b/ruoyi-modules/ruoyi-gen/src/main/resources/vm/ts/types.ts.vm @@ -11,6 +11,12 @@ export interface ${BusinessName}VO { #end #end #end +#if ($table.tree) + /** + * 子对象 + */ + children: ${BusinessName}VO[]; +#end } export interface ${BusinessName}Form extends BaseEntity {