king
2022-10-20 e2afee71874538e31ed57032e3ad1bba1188ab4b
src/menu/stylecombcontroller/index.jsx
@@ -44,6 +44,7 @@
  state = {
    style: {},
    type: '',
    borposition: 'outer'
  }
@@ -65,11 +66,12 @@
    MKEmitter.removeListener('switchMultiStyle', this.switchMultiStyle)
  }
  switchMultiStyle = (type) => {
    if (type === 'open') {
  switchMultiStyle = (swit, type) => {
    if (swit === 'open') {
      this.setState({
        visible: true,
        style: {},
        type: type,
        borposition: 'outer'
      })
    } else {
@@ -269,7 +271,7 @@
        <div className="menu-combine-style-controller">
          <Form {...formItemLayout}>
            <Collapse expandIconPosition="right" destroyInactivePanel={true} defaultActiveKey="margin">
              <Panel header="字体" key="font">
              {this.state.type === 'cardcell' ? <Panel header="字体" key="font">
                <Col span={12}>
                  <Form.Item colon={false} label={<FontSizeOutlined title="字体大小"/>}>
                    <InputNumber defaultValue={''} min={12} max={100} precision={0} onChange={this.changeFontSize} />
@@ -353,7 +355,7 @@
                    </Radio.Group>
                  </Form.Item>
                </Col>
              </Panel>
              </Panel> : null}
              <Panel header="背景" key="background">
                <Col span={24}>
                  <Form.Item