@unizhen/ui 0.1.76 → 0.1.77
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/lib/ui.js +2 -2
- package/package.json +1 -1
package/lib/ui.js
CHANGED
|
@@ -2635,7 +2635,7 @@ lf.interceptors.request.use((e) => {
|
|
|
2635
2635
|
}, (e) => e ? (rd.destroyAll(), e.code === "ERR_NETWORK" ? (rd.error({
|
|
2636
2636
|
content: K.global.t("Notice.network"),
|
|
2637
2637
|
duration: 3e3
|
|
2638
|
-
}), Promise.reject("Notice.network")) : e.response ? (e.response.status === 401 && (ad("token"), window.location.href = "/login"), rd.error({
|
|
2638
|
+
}), Promise.reject("Notice.network")) : e.response ? (e.response.status === 401 && (ad("token"), window.location.href = "/mom/login"), rd.error({
|
|
2639
2639
|
content: K.global.t("Notice.error"),
|
|
2640
2640
|
duration: 3e3
|
|
2641
2641
|
}), Promise.reject(K.global.t("Notice.error"))) : Promise.reject(e)) : Promise.reject(K.global.t("Notice.error")));
|
|
@@ -8793,7 +8793,7 @@ function Lg(e, t, n) {
|
|
|
8793
8793
|
}
|
|
8794
8794
|
//#endregion
|
|
8795
8795
|
//#region package.json
|
|
8796
|
-
var Rg = "0.1.
|
|
8796
|
+
var Rg = "0.1.77", zg;
|
|
8797
8797
|
async function Bg() {
|
|
8798
8798
|
let e = await fetch(`${window.location.protocol}//${window.location.host}`, {
|
|
8799
8799
|
method: "HEAD",
|