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 {