From 35450c747d7497642119afb5db3bbbeec63c9214 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 17 十月 2021 12:03:23 +0800 Subject: [PATCH] 2021-10-17 --- src/views/mobdesign/menuform/index.jsx | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/src/views/mobdesign/menuform/index.jsx b/src/views/mobdesign/menuform/index.jsx index 5da1243..f053755 100644 --- a/src/views/mobdesign/menuform/index.jsx +++ b/src/views/mobdesign/menuform/index.jsx @@ -5,6 +5,7 @@ import asyncComponent from '@/utils/asyncComponent' import './index.scss' +const { TextArea } = Input const SourceComponent = asyncComponent(() => import('@/menu/components/share/sourcecomponent')) class CustomMenuForm extends Component { @@ -40,6 +41,10 @@ // 鑿滃崟鍙傛暟 changeNo = (e) => { this.props.updateConfig({...this.props.config, MenuNo: e.target.value}) + } + + changeRemark = (e) => { + this.props.updateConfig({...this.props.config, Remark: e.target.value}) } changeCacheDay = (val) => { @@ -199,6 +204,19 @@ )} </Form.Item> </Col> : null} + <Col span={24}> + <Form.Item label="澶囨敞"> + {getFieldDecorator('Remark', { + initialValue: config.Remark || '', + rules: [ + { + max: 512, + message: '澶囨敞鏈�澶�512涓瓧绗︼紒' + } + ] + })(<TextArea rows={2} placeholder={''} onChange={this.changeRemark} />)} + </Form.Item> + </Col> </Row> </Form> ) -- Gitblit v1.8.0