From 944730f2794b87aa053f53084f0d082d4af6fd41 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 29 十月 2020 19:03:30 +0800 Subject: [PATCH] 2020-10-29 --- src/tabviews/zshare/actionList/exceloutbutton/index.jsx | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tabviews/zshare/actionList/exceloutbutton/index.jsx b/src/tabviews/zshare/actionList/exceloutbutton/index.jsx index 2485148..fc82316 100644 --- a/src/tabviews/zshare/actionList/exceloutbutton/index.jsx +++ b/src/tabviews/zshare/actionList/exceloutbutton/index.jsx @@ -658,7 +658,7 @@ loading: false }) - this.props.updateStatus('refresh', btn.execSuccess) + this.props.updateStatus('refresh', btn.execSuccess, btn) } /** @@ -695,7 +695,7 @@ loading: false }) - this.props.updateStatus('refresh', btn.execError) + this.props.updateStatus('refresh', btn.execError, btn) } render() { @@ -707,7 +707,7 @@ <Button className={'mk-btn mk-' + btn.class} icon={btn.icon} - onClick={() => {this.actionTrigger()}} + onClick={(e) => {e.stopPropagation(); this.actionTrigger()}} loading={loading} >{btn.label}</Button> ) @@ -717,7 +717,7 @@ type="link" loading={loading} icon={show === 'text' ? '' : (show === 'icon' ? (btn.icon || 'download') : (btn.icon || ''))} - onClick={() => {this.actionTrigger()}} + onClick={(e) => {e.stopPropagation(); this.actionTrigger()}} >{show === 'icon' ? '' : btn.label}</Button> ) } -- Gitblit v1.8.0