From a152d2dc9e4ae6fa1fdd0dcfe5db8bb455e15c4f Mon Sep 17 00:00:00 2001 From: zs <zhousong@weben-smart.com> Date: 周二, 06 5月 2025 14:21:15 +0800 Subject: [PATCH] 111 --- Weben_CMS专用代码生成器/Code/MainForm.cs | 17 +++++++++++++++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/MainForm.cs" "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/MainForm.cs" index 307c43b..5fd6b7f 100644 --- "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/MainForm.cs" +++ "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/MainForm.cs" @@ -229,6 +229,19 @@ }); } } + else + { + if (!string.IsNullOrEmpty(str_enumList)) + { + var arr_single = str_enumList.Split('|'); + enumList.Add(new EnumModel() + { + EnumAttrName = arr_single[0], + EnumType = arr_single[1], + EnumTypeDesc = arr_single[2] + }); + } + } param.EnumList = enumList; //鐢熸垚Model @@ -534,12 +547,12 @@ { var moule_str = tableName.Substring(index + 1, tableName.Length - index - 1); this.tb_Modulelogo.Text = moule_str; - this.tb_EntityProName.Text = CommonHelper.TitleToLower(moule_str); + tb_PageMenuInstanceName.Text = this.tb_EntityProName.Text = CommonHelper.TitleToLower(moule_str); } else { this.tb_Modulelogo.Text = tableName; - this.tb_EntityProName.Text = CommonHelper.TitleToLower(tableName); + tb_PageMenuInstanceName.Text = this.tb_EntityProName.Text = CommonHelper.TitleToLower(tableName); } } } -- Gitblit v1.9.3