From 241f177ee649732c536b11da65972d5cca6f0f43 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 10 十二月 2023 19:20:19 +0800 Subject: [PATCH] 2023-12-10 --- src/templates/zshare/codemirror/index.jsx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/templates/zshare/codemirror/index.jsx b/src/templates/zshare/codemirror/index.jsx index 729bb1a..db428e7 100644 --- a/src/templates/zshare/codemirror/index.jsx +++ b/src/templates/zshare/codemirror/index.jsx @@ -240,7 +240,7 @@ {fullScreen || func ? <Dropdown overlayClassName="mk-mirror-font" overlay={menu} placement="bottomRight"> <FontSizeOutlined /> </Dropdown> : null} - <SwapOutlined title="瀛楃鏇挎崲" onClick={() => this.setState({visible: true})}/> + {!mode ? <SwapOutlined title="瀛楃鏇挎崲" onClick={() => this.setState({visible: true})}/> : null} {display ? <CodeMirror className="code-mirror-area" value={defaultVal} -- Gitblit v1.8.0