@yeeyoon/library 2.9.9 → 3.0.1

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.
@@ -96,7 +96,9 @@ request.interceptors.response.use(async (response) => {
96
96
  m === 'token不一致'
97
97
  ) {
98
98
  window.top.postMessage('tcTokenExpired', '*'); // 通知宿主窗口
99
- backToIam();
99
+ setTimeout(() => {
100
+ backToIam();
101
+ }, 1000);
100
102
  }
101
103
  return resp;
102
104
  } else if (success && (!code || code === 200)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yeeyoon/library",
3
- "version": "2.9.9",
3
+ "version": "3.0.1",
4
4
  "description": "宜云前端组件库和通用服务",
5
5
  "main": "index.js",
6
6
  "repository": {