yc-vep-ui 0.6.8 → 0.6.9
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.
|
@@ -1749,7 +1749,8 @@ function $n(e) {
|
|
|
1749
1749
|
};
|
|
1750
1750
|
}
|
|
1751
1751
|
function er(e) {
|
|
1752
|
-
|
|
1752
|
+
let t = window.location.pathname;
|
|
1753
|
+
if (e.code !== "ok" && ["无效的token", "当前用户未登录"].includes(e.message) && t !== "/") {
|
|
1753
1754
|
console.log("=========== 来到 无效的token 拦截器 ==========="), localStorage.setItem("referrer", window.location.href);
|
|
1754
1755
|
let e = localStorage.getItem("authUrl") || "";
|
|
1755
1756
|
if (!e) return;
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as e, d as t, f as n, l as r, p as i, u as a } from "../entry-
|
|
1
|
+
import { c as e, d as t, f as n, l as r, p as i, u as a } from "../entry-D43qrSJJ.js";
|
|
2
2
|
export { r as useDictionary, i as useFetch, a as useRoute, t as useRouter, n as useTable, e as useUser };
|
package/dist/utils/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as e, S as t, _ as n, b as r, v as i, x as a, y as o } from "../entry-
|
|
1
|
+
import { A as e, S as t, _ as n, b as r, v as i, x as a, y as o } from "../entry-D43qrSJJ.js";
|
|
2
2
|
export { n as baseUrl, i as formatDate, o as omit, t as request, e as tempToRender, r as uniq, a as uniqBy };
|
package/dist/vep-ui.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as e, D as t, E as n, M as r, O as i, T as a, a as o, g as s, h as c, i as l, j as u, k as d, m as f, n as p, o as m, r as h, s as g, t as _, w as v } from "./entry-
|
|
1
|
+
import { C as e, D as t, E as n, M as r, O as i, T as a, a as o, g as s, h as c, i as l, j as u, k as d, m as f, n as p, o as m, r as h, s as g, t as _, w as v } from "./entry-D43qrSJJ.js";
|
|
2
2
|
export { r as UiCard, v as UiDescriptions, e as UiDialog, t as UiEditor, d as UiFilter, i as UiForm, a as UiInfiniteScroll, f as UiStaffSelect, u as UiTable, n as UiTree, m as UiUpload, s as WcUtils, o as YcApproval, c as YcMessage, l as YcPageAgent, h as default, h as ycPlugin, _ as getHostVue, g as hooks, p as setHostVue };
|