From cb8c83978177a8d3de769fca12d2aa3642eb0275 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 16 十一月 2021 12:42:32 +0800 Subject: [PATCH] 2021-11-16 --- src/menu/pastecontroller/index.jsx | 10 +++------- 1 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/menu/pastecontroller/index.jsx b/src/menu/pastecontroller/index.jsx index 1356945..eb105f6 100644 --- a/src/menu/pastecontroller/index.jsx +++ b/src/menu/pastecontroller/index.jsx @@ -5,7 +5,7 @@ import MenuUtils from '@/utils/utils-custom.js' import MKEmitter from '@/utils/events.js' import asyncComponent from '@/utils/asyncComponent' -import './index.scss' +// import './index.scss' const PasteForm = asyncComponent(() => import('@/templates/zshare/pasteform')) @@ -16,10 +16,6 @@ state = { visible: false - } - - handleMenuClick = () => { - this.setState({visible: true}) } resetconfig = (item, copyBtns, uuids = {}) => { @@ -71,7 +67,7 @@ } pasteSubmit = () => { - let options = ['tabs', 'menubar', 'topbar', 'datacard', 'propcard', 'mainsearch', 'stepform', 'tabform', 'balcony', 'group', 'normaltable', 'tablecard', 'line', 'bar', 'pie', 'dashboard', 'scatter'] + let options = ['tabs', 'menubar', 'topbar', 'timeline', 'datacard', 'propcard', 'mainsearch', 'stepform', 'tabform', 'balcony', 'group', 'normaltable', 'tablecard', 'line', 'bar', 'pie', 'dashboard', 'scatter'] this.pasteFormRef.handleConfirm().then(res => { if ((res.copyType === 'menubar' || res.copyType === 'topbar') && sessionStorage.getItem('appType') !== 'mob') { @@ -113,7 +109,7 @@ return ( <div style={{display: 'inline-block'}}> - <Button className="menu-config-paste" icon="snippets" onClick={() => {this.setState({visible: true})}}>绮樿创</Button> + <Button style={{borderColor: '#40a9ff', color: '#40a9ff'}} icon="snippets" onClick={() => {this.setState({visible: true})}}>绮樿创</Button> <Modal title="绮樿创" visible={visible} -- Gitblit v1.8.0