yuang-framework-ui-common 1.0.84 → 1.0.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -113,6 +113,11 @@ http.interceptors.response.use(async (res: any) => {
113
113
  fullUrl = removeParameter('ssoAuthCode', fullUrl) || '';
114
114
  window.location.href = fullUrl;
115
115
  return;
116
+ } else if (res?.data?.statusCode === 500815010) {
117
+ clearGateway();
118
+ await initGateway();
119
+ showErrorMessage(res?.data?.message || messageMap.requestError);
120
+ return;
116
121
  }
117
122
  showErrorMessage(res?.data?.message || messageMap.requestError);
118
123
  return Promise.reject(new Error(res?.data?.message));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yuang-framework-ui-common",
3
- "version": "1.0.84",
3
+ "version": "1.0.85",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {