From af712daea6f5ebeeb7fd550c7fe4cee118c80d54 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 23 十一月 2023 14:42:05 +0800 Subject: [PATCH] 2023-11-23 --- src/menu/stylecontroller/index.jsx | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/src/menu/stylecontroller/index.jsx b/src/menu/stylecontroller/index.jsx index b2e0d63..89f5ca9 100644 --- a/src/menu/stylecontroller/index.jsx +++ b/src/menu/stylecontroller/index.jsx @@ -29,7 +29,8 @@ ArrowRightOutlined, SwapOutlined, EnterOutlined, - DragOutlined + DragOutlined, + EyeOutlined } from '@ant-design/icons' import MKEmitter from '@/utils/events.js' @@ -521,6 +522,8 @@ delete style.right } else if (n === 'transform') { delete style.transform + } else if (n === 'overflow') { + delete style.overflow } }) } @@ -1075,6 +1078,20 @@ </Form.Item> </Col> </Panel> : null} + {options.includes('overflow') ? <Panel header="婧㈠嚭" key="overflow"> + <Col span={24}> + <Form.Item + colon={false} + label={<EyeOutlined title="婧㈠嚭"/>} + labelCol={{xs: { span: 24 }, sm: { span: 4 }}} wrapperCol={ {xs: { span: 24 }, sm: { span: 20 }} } + > + <Radio.Group style={{whiteSpace: 'nowrap'}} defaultValue={card.overflow || 'hidden'} onChange={(e) => this.changeNormalStyle(e.target.value, 'overflow')}> + <Radio value="hidden">闅愯棌</Radio> + <Radio value="visible">鏄剧ず</Radio> + </Radio.Group> + </Form.Item> + </Col> + </Panel> : null} {options.includes('position') ? <Panel header="瀹氫綅" key="position"> <div style={{paddingLeft: '35px', fontSize: '12px'}}>娉細瀹氫綅鏁堟灉璇峰湪杩愯鐜涓煡鐪嬨��</div> <Col span={24}> -- Gitblit v1.8.0