Просмотр исходного кода

代码生成时菜单图标字段丢失

Signed-off-by: 初级开发人员 <qinweiw@foxmail.com>
初级开发人员 2 лет назад
Родитель
Сommit
a5515d559f

+ 5 - 0
Admin.NET/Admin.NET.Core/Service/CodeGen/Dto/CodeGenInput.cs

@@ -100,6 +100,11 @@ public class CodeGenInput : BasePageInput
     /// 打印模版名称
     /// </summary>
     public virtual string PrintName { get; set; }
+
+    /// <summary>
+    /// 菜单图标
+    /// </summary>
+    public virtual string MenuIcon { get; set; }
 }
 
 public class AddCodeGenInput : CodeGenInput

+ 9 - 0
Web/src/api-services/models/add-code-gen-input.ts

@@ -225,4 +225,13 @@ export interface AddCodeGenInput {
      * @memberof AddCodeGenInput
      */
     generateMenu: boolean;
+
+    /**
+     * 菜单图标
+     * 
+     * @type {string}
+     * @memberof UpdateCodeGenInput
+     */
+
+    menuIcon?: string | null;
 }

+ 9 - 0
Web/src/api-services/models/update-code-gen-input.ts

@@ -233,4 +233,13 @@ export interface UpdateCodeGenInput {
      * @memberof UpdateCodeGenInput
      */
     id: number;
+
+    /**
+     * 菜单图标
+     * 
+     * @type {string}
+     * @memberof UpdateCodeGenInput
+     */
+
+    menuIcon?: string | null;
 }