gj-package 1.0.4 → 1.0.5

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.
Files changed (2) hide show
  1. package/gj-package.es.js +8 -11
  2. package/package.json +1 -1
package/gj-package.es.js CHANGED
@@ -1,16 +1,13 @@
1
- import { defineAsyncComponent as r } from "vue";
2
- const m = {
3
- install(n) {
4
- const e = /* @__PURE__ */ Object.assign({ "./List/index.vue": () => import("./index-DSRSEZ1_.js"), "./seniorForm/index.vue": () => import("./index-BIieu20D.js"), "./seniorList/index.vue": () => import("./index-CKemTDSX.js") }), s = Object.keys(e), t = Object.values(e);
5
- s.forEach((o, c) => {
6
- const i = o.slice(o.indexOf("/") + 1, o.lastIndexOf("/")), a = t[c];
7
- n.component(i, r(a));
1
+ import { defineAsyncComponent as m } from "vue";
2
+ const a = {
3
+ install(o) {
4
+ const n = /* @__PURE__ */ Object.assign({ "./List/index.vue": () => import("./index-DSRSEZ1_.js"), "./seniorForm/index.vue": () => import("./index-BIieu20D.js"), "./seniorList/index.vue": () => import("./index-CKemTDSX.js") }), t = Object.keys(n), s = Object.values(n);
5
+ t.forEach((e, c) => {
6
+ const i = e.slice(e.indexOf("/") + 1, e.lastIndexOf("/")), r = s[c];
7
+ o.component(i, m(r));
8
8
  });
9
- },
10
- abc() {
11
- console.log("测试: =>", abc);
12
9
  }
13
10
  };
14
11
  export {
15
- m as default
12
+ a as default
16
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gj-package",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "",
5
5
  "main": "gj-package.es.js",
6
6
  "scripts": {