king
2020-04-29 9b6ce1a5778c6e1a813237e87588c0052aae1bbb
src/templates/zshare/editcomponent/index.jsx
@@ -141,7 +141,15 @@
        }, () => {
          this.props.refresh({
            type: 'paste',
            copyType: 'action',
            content: res
          })
        })
      } else if (res.copyType === 'search') {
        this.setState({
          pasteVisible: false
        }, () => {
          this.props.refresh({
            type: 'paste',
            content: res
          })
        })
@@ -160,8 +168,7 @@
        }, () => {
          this.props.refresh({
            type: 'paste',
            copyType: 'columns',
            config: {...config, columns: res.columns}
            content: res
          })
        })
      } else {
@@ -179,7 +186,7 @@
      <Menu onClick={this.handleMenuClick}>
        <Menu.Item key="thaw"><Icon type="unlock" />{this.props.dict['header.form.thawbutton']}</Menu.Item>
        <Menu.Item key="paste"><Icon type="snippets" />{this.props.dict['header.form.paste']}</Menu.Item>
        <Menu.Item key="replace"><Icon type="retweet" />替换</Menu.Item>
        {/* <Menu.Item key="replace"><Icon type="retweet" />替换</Menu.Item> */}
      </Menu>
    )
@@ -193,7 +200,7 @@
        {/* 解冻按钮模态框 */}
        <Modal
          title={this.props.dict['header.form.thawbutton']}
          okText={this.props.dict['header.confirm']}
          okText={this.props.dict['model.confirm']}
          cancelText={this.props.dict['header.cancel']}
          visible={this.state.thawVisible}
          onOk={this.thawBtnSubmit}