src/menu/components/share/pastebasetable/index.jsx
@@ -95,7 +95,7 @@ const { visible } = this.state return ( <div style={{display: 'inline-block'}}> <> {type === 'page' ? <Button icon="snippets" style={{color: '#1890ff', borderColor: '#1890ff'}} onClick={() => {this.setState({visible: true})}} >粘贴</Button> : <SnippetsOutlined style={{color: 'purple'}} onClick={() => {this.setState({visible: true})}} />} <Modal title="粘贴" @@ -108,7 +108,7 @@ > <PasteForm wrappedComponentRef={(inst) => this.pasteFormRef = inst} inputSubmit={this.pasteSubmit}/> </Modal> </div> </> ) } }