From 1dbd8e07e440e9245f10777e9e8fd2fe2b05f6af Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 27 九月 2021 23:39:07 +0800 Subject: [PATCH] 2021-09-27 --- src/tabviews/zshare/actionList/normalbutton/index.jsx | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx index 90353f7..0bf6a30 100644 --- a/src/tabviews/zshare/actionList/normalbutton/index.jsx +++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx @@ -1530,6 +1530,7 @@ */ execError = (res) => { const { btn } = this.props + const { btnconfig } = this.state if (res.ErrCode === 'E') { Modal.error({ @@ -1599,6 +1600,10 @@ } } + if (btnconfig && btnconfig.setting && btnconfig.setting.errFocus) { + MKEmitter.emit('mkFC', 'focus', btnconfig.setting.errFocus) + } + if (btn.execError !== 'never') { MKEmitter.emit('refreshByButtonResult', btn.$menuId, btn.execError, btn) } -- Gitblit v1.8.0