From 06a670976e2145a10ea05207041d3cf3164cd380 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 03 二月 2024 18:13:25 +0800 Subject: [PATCH] Merge branch 'positec' into dms --- src/menu/components/share/markcomponent/index.jsx | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/menu/components/share/markcomponent/index.jsx b/src/menu/components/share/markcomponent/index.jsx index a88f98e..7185bea 100644 --- a/src/menu/components/share/markcomponent/index.jsx +++ b/src/menu/components/share/markcomponent/index.jsx @@ -414,8 +414,13 @@ render() { const { marks, markColumns, visible, options, signs } = this.state + let className = '' + if (this.props.type === 'line' && this.props.marks.length) { + className = 'mk-line-marks' + } + return ( - <div style={{display: 'inline-block'}}> + <div style={{display: 'inline-block'}} className={className}> <AntDesignOutlined className="profile" title="鏍囪" onClick={this.resetMark} /> <Modal wrapClassName="mark-modal-wrap" -- Gitblit v1.8.0