@morningfast/platform 1.0.6 → 1.0.7
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.
|
@@ -673,14 +673,16 @@ var xt = "data:image/svg+xml,%3csvg%20viewBox='0%200%2064%2048'%20fill='none'%20
|
|
|
673
673
|
props: { refreshKey: {} },
|
|
674
674
|
setup(e) {
|
|
675
675
|
let t = e;
|
|
676
|
-
function n(e, n) {
|
|
677
|
-
|
|
676
|
+
function n(e, n, r) {
|
|
677
|
+
if (!r) return `${e}:${t.refreshKey}`;
|
|
678
|
+
let i = p(n);
|
|
679
|
+
return i ? `micro-app:${i.name}` : "micro-app";
|
|
678
680
|
}
|
|
679
681
|
return (e, t) => {
|
|
680
682
|
let r = W("router-view"), i = W("el-main");
|
|
681
683
|
return V(), j(i, { class: "app-layout__main" }, {
|
|
682
684
|
default: Y(() => [I(r, null, {
|
|
683
|
-
default: Y(({ Component: e, route: t }) => [(V(), j(G(e), { key: n(t.fullPath, !!t.meta.microApp) }))]),
|
|
685
|
+
default: Y(({ Component: e, route: t }) => [(V(), j(G(e), { key: n(t.fullPath, t.path, !!t.meta.microApp) }))]),
|
|
684
686
|
_: 1
|
|
685
687
|
})]),
|
|
686
688
|
_: 1
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MICRO_AUTH_EXPIRED_EVENT as e } from "./micro-contract.js";
|
|
2
|
-
import { _ as t, a as n, c as r, d as i, f as a, g as o, h as s, i as c, l, m as u, n as d, o as f, p, r as m, s as h, t as g, u as _, v, y } from "./chunks/main-
|
|
2
|
+
import { _ as t, a as n, c as r, d as i, f as a, g as o, h as s, i as c, l, m as u, n as d, o as f, p, r as m, s as h, t as g, u as _, v, y } from "./chunks/main-z6Df1mR9.js";
|
|
3
3
|
import { ApiError as b, RequestManager as x, createRequestClient as S, formatErrorMessage as C } from "./request.js";
|
|
4
4
|
import { a as w, i as T, n as E, r as D, t as O } from "./chunks/auth-C3RvRgcW.js";
|
|
5
5
|
import { i as k, n as A, r as j, t as M } from "./chunks/system-DZaKDrG6.js";
|
package/dist/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e, a as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g, v as _, y as v } from "./chunks/main-
|
|
1
|
+
import { _ as e, a as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g, v as _, y as v } from "./chunks/main-z6Df1mR9.js";
|
|
2
2
|
import { a as y, i as b, n as x, r as S, t as C } from "./chunks/auth-C3RvRgcW.js";
|
|
3
3
|
import { i as w, n as T, r as E, t as D } from "./chunks/system-DZaKDrG6.js";
|
|
4
4
|
import { g as O, h as k } from "./chunks/register-dGBgzdRh.js";
|