@yeeyoon/library 3.6.9 → 3.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -43,12 +43,12 @@ rest && ls.set(REST_KEY, JSON.stringify(rest));
43
43
  /** 异常处理程序 */
44
44
 
45
45
  const backToIam = () => {
46
- // const { origin, pathname } = window.location;
47
- // if (origin.indexOf(HOST_HUASHAN_BPM) > -1) {
48
- // window.location.href = HOST_HUASHAN_LOGIN;
49
- // } else {
50
- // window.location.href = `${HOST_IAM}?redirect=${origin}${pathname}`;
51
- // }
46
+ const { origin, pathname } = window.location;
47
+ if (origin.indexOf(HOST_HUASHAN_BPM) > -1) {
48
+ window.location.href = HOST_HUASHAN_LOGIN;
49
+ } else {
50
+ window.location.href = `${HOST_IAM}?redirect=${origin}${pathname}`;
51
+ }
52
52
  };
53
53
 
54
54
  const errorHandler = (error) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yeeyoon/library",
3
- "version": "3.6.9",
3
+ "version": "3.7.0",
4
4
  "description": "宜云前端组件库和通用服务",
5
5
  "main": "index.js",
6
6
  "repository": {