From 6904c9273f5c7c3607ac5a9155aa511253d49b35 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 11 七月 2022 11:36:25 +0800 Subject: [PATCH] 2022-07-11 --- src/tabviews/zshare/actionList/excelInbutton/index.jsx | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tabviews/zshare/actionList/excelInbutton/index.jsx b/src/tabviews/zshare/actionList/excelInbutton/index.jsx index 612666b..92d46e7 100644 --- a/src/tabviews/zshare/actionList/excelInbutton/index.jsx +++ b/src/tabviews/zshare/actionList/excelInbutton/index.jsx @@ -505,7 +505,7 @@ className = 'mk-btn mk-' + btn.class } - return <div style={{display: 'inline-block'}} onClick={(e) => e.stopPropagation()}> + return <> <Button type={type} title={disabled ? (btn.reason || '') : (btn.show === 'icon' ? btn.label : '')} @@ -514,10 +514,10 @@ style={btn.style} icon={icon} className={className} - onClick={() => {this.actionTrigger()}} + onClick={(e) => {e.stopPropagation(); this.actionTrigger()}} >{label}</Button> <ExcelIn btn={btn} triggerExcelIn={() => this.setState({ loading: true })} returndata={this.getexceldata} ref="excelIn" /> - </div> + </> } } -- Gitblit v1.8.0