king
2021-04-09 92a9b175fda139d6608c53af62e4d8b7b1c926cf
src/pc/components/login/wrapsetting/index.jsx
@@ -27,7 +27,7 @@
  }
  shouldComponentUpdate (nextProps, nextState) {
    return !is(fromJS(this.props), fromJS(nextProps)) || !is(fromJS(this.state), fromJS(nextState))
    return !is(fromJS(this.state), fromJS(nextState))
  }
  editDataSource = () => {
@@ -50,7 +50,6 @@
  }
  render () {
    const { config } = this.props
    const { visible, dict, wrap } = this.state
    return (
@@ -58,7 +57,7 @@
        <Icon type="edit" title="编辑" onClick={() => this.editDataSource()} />
        <Modal
          wrapClassName="popview-modal"
          title={config.type === 'table' ? '表格设置' : '卡片设置'}
          title="登录设置"
          visible={visible}
          width={800}
          maskClosable={false}
@@ -70,7 +69,6 @@
          <SettingForm
            dict={dict}
            wrap={wrap}
            config={config}
            inputSubmit={this.verifySubmit}
            wrappedComponentRef={(inst) => this.verifyRef = inst}
          />