From 886d8bbb19e5bfb7c30df8d45f54e0a68c0bd0cb Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周二, 20 5月 2025 13:29:01 +0800 Subject: [PATCH] //优化了代码,这地方不用了 --- Weben_CMS专用代码生成器/Code/Generate/Web/Controllers/EntityModeDrawer_Generate.cs | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 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/Generate/Web/Controllers/EntityModeDrawer_Generate.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/Generate/Web/Controllers/EntityModeDrawer_Generate.cs" index c00ab87..e6457a1 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/Generate/Web/Controllers/EntityModeDrawer_Generate.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/Generate/Web/Controllers/EntityModeDrawer_Generate.cs" @@ -23,20 +23,22 @@ //鏇挎崲鏂板form鍒楄〃灞炴�� string attrString = ""; List<ColumnModel> newColumnNameList = ListHelper.RemoveAttrForUpdateMode(param.ColumnNameList); - attrString += StructStrHelper.GetVueFormOptionsStrForPageAddFormAttributes_formItems(param.ColumnNameList, param); + attrString += StructStrHelper.GetVueFormOptionsStrForPageAddFormAttributes_formItems(newColumnNameList, param); str = str.Replace("$PageAddFormAttributes_formItems$", attrString); - attrString = ""; - attrString += StructStrHelper.GetVueFormOptionsStrForSave_PageAddFormAttributes(param.ColumnNameList,param); - str = str.Replace("$Save_PageAddFormAttributes$", attrString); + //浼樺寲浜嗕唬鐮侊紝杩欏湴鏂逛笉鐢ㄤ簡 + //attrString = ""; + //attrString += StructStrHelper.GetVueFormOptionsStrForSave_PageAddFormAttributes(newColumnNameList, param); + //str = str.Replace("$Save_PageAddFormAttributes$", attrString); attrString = ""; attrString += StructStrHelper.GetVueFormOptionsStrForCommonQueryEnumForFrom(param.ColumnNameList, param); str = str.Replace("$CommonQueryEnumForFrom$", attrString); - attrString = ""; - attrString += StructStrHelper.GetVueFormOptionsStrForPageAddFormAttributesByOpen(param.ColumnNameList, param); - str = str.Replace("$PageAddFormAttributesByOpen$", attrString); + //浼樺寲浜嗕唬鐮侊紝杩欏湴鏂逛笉鐢ㄤ簡 + //attrString = ""; + //attrString += StructStrHelper.GetVueFormOptionsStrForPageAddFormAttributesByOpen(newColumnNameList, param); + //str = str.Replace("$PageAddFormAttributesByOpen$", attrString); -- Gitblit v1.9.3