From c66c7b65432af8cdab430b7ac079a4fd75c3d60f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 10 九月 2021 19:20:58 +0800 Subject: [PATCH] 2021-09-10 --- src/menu/pastecontroller/index.jsx | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/menu/pastecontroller/index.jsx b/src/menu/pastecontroller/index.jsx index 80a2dac..a5529f5 100644 --- a/src/menu/pastecontroller/index.jsx +++ b/src/menu/pastecontroller/index.jsx @@ -68,10 +68,10 @@ } pasteSubmit = () => { - let options = ['tabs', 'menubar', 'datacard', 'propcard', 'mainsearch', 'stepform', 'tabform', 'balcony', 'group', 'normaltable', 'tablecard', 'line', 'bar', 'pie', 'dashboard', 'scatter'] + let options = ['tabs', 'menubar', 'topbar', 'datacard', 'propcard', 'mainsearch', 'stepform', 'tabform', 'balcony', 'group', 'normaltable', 'tablecard', 'line', 'bar', 'pie', 'dashboard', 'scatter'] this.pasteFormRef.handleConfirm().then(res => { - if (res.copyType === 'menubar' && sessionStorage.getItem('appType') !== 'mob') { + if ((res.copyType === 'menubar' || res.copyType === 'topbar') && sessionStorage.getItem('appType') !== 'mob') { notification.warning({ top: 92, message: '褰撳墠绯荤粺涓嶆敮鎸佽彍鍗曠粍浠讹紒', @@ -102,12 +102,6 @@ } this.setState({visible: false}) - - notification.success({ - top: 92, - message: '绮樿创鎴愬姛锛�', - duration: 2 - }) }) } -- Gitblit v1.8.0