From 73e68ead29f70638302629c7d8389c02d59bc6d9 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 20 四月 2023 15:38:01 +0800 Subject: [PATCH] 2023-04-20 --- 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