From 59db6fab9c1ed1fa5559d423d439e14ea33b1598 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 27 四月 2023 11:18:24 +0800 Subject: [PATCH] Merge branch 'develop' --- src/tabviews/zshare/actionList/normalbutton/index.jsx | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx index 53cdd31..52da922 100644 --- a/src/tabviews/zshare/actionList/normalbutton/index.jsx +++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx @@ -1742,6 +1742,7 @@ outerOuterRequest = (params, result, record, _resolve) => { const { btn } = this.props let outParam = JSON.parse(JSON.stringify(result)) + let ver_token = false if (btn.outerFunc) { result.func = btn.outerFunc @@ -1780,6 +1781,7 @@ } else { result.$token = btn.exInterface || '' } + ver_token = true } else { if (window.GLOB.systemType === 'production' && btn.proInterface) { result.rduri = btn.proInterface @@ -1796,6 +1798,10 @@ Api.genericInterface(result).then(res => { if (!res) return // LoginError鏃朵腑鏂姹� + if (ver_token && res.ErrMesg === 'token_error') { + this.execError(res) + return + } this.outerCallbackRequest(params, res, record, outParam, _resolve) }, () => { this.outerCallbackRequest(params, {status: false, message: 500, ErrCode: 'E', ErrMesg: 500}, record, outParam, _resolve) -- Gitblit v1.8.0