| | |
| | | const Component = el |
| | | const el2 = |
| | | formItemElementMap['select']; |
| | | const Component2 = el2 |
| | | const ComponentForHighSelect = el2 |
| | | return Component && !item.isHide ? ( |
| | | |
| | | <el-form-item |
| | |
| | | <el-option label="çäº" value="2" /> |
| | | <el-option label="ä¸çäº" value="8" /> |
| | | </el-select> */} |
| | | |
| | | <Component2 style="width:150px;" |
| | | {/* å½ç»ä»¶ç±»å䏿¯æ¥ææ§ä»¶æ¶æ¾ç¤ºComponentForHighSelect */} |
| | | {(!itemProps.isDateControl && ( |
| | | // ComponentForHighSelect çæ¸²æä»£ç |
| | | <ComponentForHighSelect style="width:150px;" |
| | | {...itemProps.highSelectAttrs} |
| | | modelValue={currentWidgetModel.value(itemProps.highSelectAttrs)} |
| | | modelValue={currentWidgetModel.value(itemProps.highSelectAttrs?.prop || '')} |
| | | onUpdate:modelValue={(val: string | number) => |
| | | onUpdateModelValue(val, itemProps.highSelectAttrs) |
| | | onUpdateModelValue(val, itemProps.highSelectAttrs?.prop || '') |
| | | }> |
| | | <FormRenderForHighSelectOptions item={itemProps} /> |
| | | </Component2> |
| | | </ComponentForHighSelect> |
| | | ))} |
| | | {/* æ¥ææ§ä»¶æ¶çå ä½å
ç´ */} |
| | | {itemProps.isDateControl && <span style="width:150px;margin-right:8px;"></span>} |
| | | |
| | | |
| | | <Component |
| | | style={{ |