king
2023-04-04 bda849855c1036b352b4ea29bf1c1d7460d340be
src/menu/components/card/cardsimplecomponent/node-wrap/menus/columnform/index.jsx
@@ -5,7 +5,7 @@
import asyncComponent from '@/utils/asyncComponent'
const ColorSketch = asyncComponent(() => import('@/mob/colorsketch'))
const MkIcon = asyncComponent(() => import('@/components/mkIcon'))
const MkEditIcon = asyncComponent(() => import('@/components/mkIcon'))
class MenusColumn extends Component {
  static propTpyes = {
@@ -40,28 +40,28 @@
    const formItemLayout = {
      labelCol: {
        xs: { span: 24 },
        sm: { span: 8 }
        sm: { span: 7 }
      },
      wrapperCol: {
        xs: { span: 24 },
        sm: { span: 16 }
        sm: { span: 17 }
      }
    }
    return (
      <Form {...formItemLayout} className="node-form">
        <Row gutter={24}>
          <Col span={6}>
          <Col span={5}>
            <Form.Item label="标识">
              {getFieldDecorator('sign', {
                initialValue: ''
              })(<Input placeholder="" autoComplete="off" />)}
            </Form.Item>
          </Col>
          <Col span={8}>
          <Col span={6}>
            <Form.Item label="颜色">
              {getFieldDecorator('color', {
                initialValue: '',
                initialValue: '#e8e8e8',
                rules: [
                  {
                    required: true,
@@ -71,16 +71,23 @@
              })(<ColorSketch />)}
            </Form.Item>
          </Col>
          <Col span={7}>
          <Col span={5}>
            <Form.Item label="图标">
              {getFieldDecorator('icon', {
                initialValue: ''
              })(
                <MkIcon allowClear/>
                <MkEditIcon allowClear/>
              )}
            </Form.Item>
          </Col>
          <Col span={3} className="add">
          <Col span={6}>
            <Form.Item label="连接线">
              {getFieldDecorator('linecolor', {
                initialValue: '',
              })(<ColorSketch allowClear/>)}
            </Form.Item>
          </Col>
          <Col span={2} className="add">
            <Button onClick={this.handleConfirm} type="primary" className="mk-green">
              添加
            </Button>