Weben_CMSרÓôúÂëÉú³ÉÆ÷/Code/Generate/Web/Controllers/EntityModeQueryDrawer_Generate.cs
@@ -35,9 +35,10 @@ attrString += StructStrHelper.GetVueFormOptionsStrForPageAddFormAttributes_Query_Clear(newColumnNameList, param); str = str.Replace("$Save_PageAddFormAttributes_Query_Clear$", attrString); attrString = ""; attrString += StructStrHelper.GetVueFormOptionsStrForPageAddFormAttributes_Query_Clear_HighSelect(newColumnNameList, param); str = str.Replace("$Save_PageAddFormAttributes_Query_Clear_HighSelect$", attrString); //é«çº§æ¥è¯¢è¿æ»¤ä¼åäºï¼ä¸åç¨è¿ç§æ¹å¼äº //attrString = ""; //attrString += StructStrHelper.GetVueFormOptionsStrForPageAddFormAttributes_Query_Clear_HighSelect(newColumnNameList, param); //str = str.Replace("$Save_PageAddFormAttributes_Query_Clear_HighSelect$", attrString); attrString = ""; attrString += StructStrHelper.GetVueFormOptionsStrForCommonQueryEnumForFrom(param.ColumnNameList, param); Weben_CMSרÓôúÂëÉú³ÉÆ÷/Code/Templete/Web/Controllers/EntityModeQueryDrawerÄ£°å.txt
@@ -122,9 +122,23 @@ /** * éç½®å ¬å ±selectæ¥è¯¢ */ const onResetForHighSelect = async () => { $Save_PageAddFormAttributes_Query_Clear_HighSelect$ } const onResetForHighSelect = () => { // éåææè¡¨ååæ®µ formItems.forEach(item => { // æ£æ¥å段æ¯å¦æé«çº§æ¥è¯¢çè¿æ»¤æ¨¡å¼é ç½® if (item.highSelectAttrs && item.highSelectAttrs.prop) { const filterModeProp = item.highSelectAttrs.prop; const options = item.highSelectAttrs.options || []; // 妿åå¨é项ï¼å设置为第ä¸ä¸ªé项çå¼ if (options.length > 0) { // å设éé¡¹æ ¼å¼ä¸º { value, label } æç±»ä¼¼ç»æ const firstValue = options[0].value !== undefined ? options[0].value : options[0]; formData.value[filterModeProp] = firstValue; } } }); } /** * éç½®æ¥è¯¢ */