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.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 t = [];
7323
- const n = /* @__PURE__ */ Object.assign({}), o = /* @__PURE__ */ Object.assign({});
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 (n[i] && o[s]) {
7327
- const a = o[s], c = {
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: n[i]
7333
+ component: t[i]
7335
7334
  };
7336
- t.push(c);
7335
+ o.push(c);
7337
7336
  }
7338
- }), t;
7337
+ }), o;
7339
7338
  }, dE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7340
7339
  __proto__: null,
7341
7340
  getToken: Ir,
Binary file