hongshu-view 1.0.18 → 1.0.19
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.
- package/dist/hongshu-view.mjs +2 -10
- package/dist/hongshu-view.umd.js +62 -62
- package/package.json +1 -1
package/dist/hongshu-view.mjs
CHANGED
|
@@ -22059,16 +22059,8 @@ function I6e(n, e) {
|
|
|
22059
22059
|
if (f.code == "200") {
|
|
22060
22060
|
let m = f.val;
|
|
22061
22061
|
a.refresh_token = m.refresh_token, a.token = "bearer " + m.access_token, Hm.set("logininfo", a);
|
|
22062
|
-
} else
|
|
22063
|
-
|
|
22064
|
-
let m = "/login.html", b = window.localStorage.getItem("loginPage");
|
|
22065
|
-
if (b)
|
|
22066
|
-
try {
|
|
22067
|
-
m = b;
|
|
22068
|
-
} catch (w) {
|
|
22069
|
-
}
|
|
22070
|
-
throw e.loginPage && (m = e.loginPage), location.href = m, new Error("刷新token失败");
|
|
22071
|
-
}
|
|
22062
|
+
} else
|
|
22063
|
+
throw new Error("刷新token失败");
|
|
22072
22064
|
});
|
|
22073
22065
|
}
|
|
22074
22066
|
let sU = !1, _pe = [], Ape = [];
|