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/printbutton/index.jsx | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/tabviews/zshare/actionList/printbutton/index.jsx b/src/tabviews/zshare/actionList/printbutton/index.jsx index 2520eac..ec7be3e 100644 --- a/src/tabviews/zshare/actionList/printbutton/index.jsx +++ b/src/tabviews/zshare/actionList/printbutton/index.jsx @@ -1241,6 +1241,7 @@ */ execError = (res) => { const { btn } = this.props + const { btnconfig } = this.state if (res.ErrCode === 'E') { Modal.error({ @@ -1267,6 +1268,10 @@ loading: false }) + 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