yxuse 1.0.38 → 1.0.39
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/index.cjs5.js +1 -1
- package/lib/index.cjs5.js.gz +0 -0
- package/lib/index.cjs5.js.map +1 -1
- package/lib/index.es5.js +8 -9
- package/lib/index.es5.js.gz +0 -0
- package/lib/index.es5.js.map +1 -1
- package/package.json +1 -1
package/lib/index.es5.js
CHANGED
|
@@ -7318,24 +7318,23 @@ const Ir = () => {
|
|
|
7318
7318
|
} catch (t) {
|
|
7319
7319
|
return console.log("===", t), null;
|
|
7320
7320
|
}
|
|
7321
|
-
}, Dy = (e) => {
|
|
7322
|
-
let
|
|
7323
|
-
|
|
7324
|
-
return console.log(n, o), e.forEach((r) => {
|
|
7321
|
+
}, Dy = (e, t, n) => {
|
|
7322
|
+
let o = [];
|
|
7323
|
+
return e.forEach((r) => {
|
|
7325
7324
|
const s = `/src/views${r.routeView}/config.ts`, i = `/src/views${r.routeView}/index.vue`;
|
|
7326
|
-
if (
|
|
7327
|
-
const a =
|
|
7325
|
+
if (t[i] && n[s]) {
|
|
7326
|
+
const a = n[s], c = {
|
|
7328
7327
|
path: r.routeView,
|
|
7329
7328
|
name: r.routeView.split("/")[1],
|
|
7330
7329
|
meta: {
|
|
7331
7330
|
title: a.title,
|
|
7332
7331
|
icon: a.icon
|
|
7333
7332
|
},
|
|
7334
|
-
component:
|
|
7333
|
+
component: t[i]
|
|
7335
7334
|
};
|
|
7336
|
-
|
|
7335
|
+
o.push(c);
|
|
7337
7336
|
}
|
|
7338
|
-
}),
|
|
7337
|
+
}), o;
|
|
7339
7338
|
}, dE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7340
7339
|
__proto__: null,
|
|
7341
7340
|
getToken: Ir,
|
package/lib/index.es5.js.gz
CHANGED
|
Binary file
|