@arkxos/arkos-core 0.1.4 → 0.1.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.
- package/ark_dist/ark-meta.json +7 -7
- package/ark_dist/js/100.fa7fdcf0.js +3 -0
- package/ark_dist/js/{505.9a8474d7.js.LICENSE.txt → 100.fa7fdcf0.js.LICENSE.txt} +0 -3
- package/ark_dist/js/100.fa7fdcf0.js.map +1 -0
- package/ark_dist/js/{app.6a1783f8.js → app.f4d188de.js} +1 -1
- package/package.json +113 -114
- package/src/api/model/auth.js +1 -1
- package/src/core/system.ts +15 -5
- package/ark_dist/js/505.9a8474d7.js +0 -3
- package/ark_dist/js/505.9a8474d7.js.map +0 -1
- /package/ark_dist/css/{505.fbd21c4a.css → 100.fbd21c4a.css} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("ArkLibProxy"),require("ArkMicro"),require("ElementPlus"),require("Pinia"),require("Vue"),require("VueI18n"),require("VueRouter"),require("axios"),require("piniaPluginPersistedstate")):"function"==typeof define&&define.amd?define(["ArkLibProxy","ArkMicro","ElementPlus","Pinia","Vue","VueI18n","VueRouter","axios","piniaPluginPersistedstate"],r):"object"==typeof exports?exports["@arkxos/arkos-core"]=r(require("ArkLibProxy"),require("ArkMicro"),require("ElementPlus"),require("Pinia"),require("Vue"),require("VueI18n"),require("VueRouter"),require("axios"),require("piniaPluginPersistedstate")):e["@arkxos/arkos-core"]=r(e.ArkLibProxy,e.ArkMicro,e.ElementPlus,e.Pinia,e.Vue,e.VueI18n,e.VueRouter,e.axios,e.piniaPluginPersistedstate)}(self,(function(e,r,t,n,o,i,u,a,s){return function(){"use strict";var c,f,l={720:function(e){e.exports=t},844:function(e){e.exports=r},1677:function(e){e.exports=n},2508:function(e){e.exports=o},2742:function(e){e.exports=a},7620:function(e){e.exports=i},8420:function(e){e.exports=s},8533:function(e){e.exports=u},9189:function(r){r.exports=e}},d={};function p(e){var r=d[e];if(void 0!==r)return r.exports;var t=d[e]={exports:{}};return l[e].call(t.exports,t,t.exports,p),t.exports}p.m=l,p.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return p.d(r,{a:r}),r},p.d=function(e,r){for(var t in r)p.o(r,t)&&!p.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},p.f={},p.e=function(e){return Promise.all(Object.keys(p.f).reduce((function(r,t){return p.f[t](e,r),r}),[]))},p.u=function(e){return"js/"+e+".
|
|
1
|
+
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("ArkLibProxy"),require("ArkMicro"),require("ElementPlus"),require("Pinia"),require("Vue"),require("VueI18n"),require("VueRouter"),require("axios"),require("piniaPluginPersistedstate")):"function"==typeof define&&define.amd?define(["ArkLibProxy","ArkMicro","ElementPlus","Pinia","Vue","VueI18n","VueRouter","axios","piniaPluginPersistedstate"],r):"object"==typeof exports?exports["@arkxos/arkos-core"]=r(require("ArkLibProxy"),require("ArkMicro"),require("ElementPlus"),require("Pinia"),require("Vue"),require("VueI18n"),require("VueRouter"),require("axios"),require("piniaPluginPersistedstate")):e["@arkxos/arkos-core"]=r(e.ArkLibProxy,e.ArkMicro,e.ElementPlus,e.Pinia,e.Vue,e.VueI18n,e.VueRouter,e.axios,e.piniaPluginPersistedstate)}(self,(function(e,r,t,n,o,i,u,a,s){return function(){"use strict";var c,f,l={720:function(e){e.exports=t},844:function(e){e.exports=r},1677:function(e){e.exports=n},2508:function(e){e.exports=o},2742:function(e){e.exports=a},7620:function(e){e.exports=i},8420:function(e){e.exports=s},8533:function(e){e.exports=u},9189:function(r){r.exports=e}},d={};function p(e){var r=d[e];if(void 0!==r)return r.exports;var t=d[e]={exports:{}};return l[e].call(t.exports,t,t.exports,p),t.exports}p.m=l,p.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return p.d(r,{a:r}),r},p.d=function(e,r){for(var t in r)p.o(r,t)&&!p.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},p.f={},p.e=function(e){return Promise.all(Object.keys(p.f).reduce((function(r,t){return p.f[t](e,r),r}),[]))},p.u=function(e){return"js/"+e+".fa7fdcf0.js"},p.miniCssF=function(e){return"css/"+e+".fbd21c4a.css"},p.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),p.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},c={},f="@arkxos/arkos-core:",p.l=function(e,r,t,n){if(c[e])c[e].push(r);else{var o,i;if(void 0!==t)for(var u=document.getElementsByTagName("script"),a=0;a<u.length;a++){var s=u[a];if(s.getAttribute("src")==e||s.getAttribute("data-webpack")==f+t){o=s;break}}o||(i=!0,(o=document.createElement("script")).charset="utf-8",o.timeout=120,p.nc&&o.setAttribute("nonce",p.nc),o.setAttribute("data-webpack",f+t),o.src=e),c[e]=[r];var l=function(r,t){o.onerror=o.onload=null,clearTimeout(d);var n=c[e];if(delete c[e],o.parentNode&&o.parentNode.removeChild(o),n&&n.forEach((function(e){return e(t)})),r)return r(t)},d=setTimeout(l.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=l.bind(null,o.onerror),o.onload=l.bind(null,o.onload),i&&document.head.appendChild(o)}},p.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},p.p=window.ArkConfig.cdnHost+"/@arkxos/arkos-core@0.1.7/ark_dist/",function(){if("undefined"!=typeof document){var e={524:0};p.f.miniCss=function(r,t){e[r]?t.push(e[r]):0!==e[r]&&{100:1}[r]&&t.push(e[r]=function(e){return new Promise((function(r,t){var n=p.miniCssF(e),o=p.p+n;if(function(e,r){for(var t=document.getElementsByTagName("link"),n=0;n<t.length;n++){var o=(u=t[n]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(o===e||o===r))return u}var i=document.getElementsByTagName("style");for(n=0;n<i.length;n++){var u;if((o=(u=i[n]).getAttribute("data-href"))===e||o===r)return u}}(n,o))return r();!function(e,r,t,n,o){var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",p.nc&&(i.nonce=p.nc),i.onerror=i.onload=function(t){if(i.onerror=i.onload=null,"load"===t.type)n();else{var u=t&&t.type,a=t&&t.target&&t.target.href||r,s=new Error("Loading CSS chunk "+e+" failed.\n("+u+": "+a+")");s.name="ChunkLoadError",s.code="CSS_CHUNK_LOAD_FAILED",s.type=u,s.request=a,i.parentNode&&i.parentNode.removeChild(i),o(s)}},i.href=r,document.head.appendChild(i)}(e,o,0,r,t)}))}(r).then((function(){e[r]=0}),(function(t){throw delete e[r],t})))}}}(),function(){var e={524:0};p.f.j=function(r,t){var n=p.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((function(t,o){n=e[r]=[t,o]}));t.push(n[2]=o);var i=p.p+p.u(r),u=new Error;p.l(i,(function(t){if(p.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;u.message="Loading chunk "+r+" failed.\n("+o+": "+i+")",u.name="ChunkLoadError",u.type=o,u.request=i,n[1](u)}}),"chunk-"+r,r)}};var r=function(r,t){var n,o,i=t[0],u=t[1],a=t[2],s=0;if(i.some((function(r){return 0!==e[r]}))){for(n in u)p.o(u,n)&&(p.m[n]=u[n]);a&&a(p)}for(r&&r(t);s<i.length;s++)o=i[s],p.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=self["helJsonp_@arkxos/arkos-core_1768802629691"]=self["helJsonp_@arkxos/arkos-core_1768802629691"]||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))}();var m=p(9189);return async function(){const e=await p.e(100).then(p.bind(p,5100));(0,m.libReady)("@arkxos/arkos-core",e.default)}().catch(console.error),{}}()}));
|
package/package.json
CHANGED
|
@@ -1,114 +1,113 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@arkxos/arkos-core",
|
|
3
|
-
"appGroupName": "@arkxos/arkos-core",
|
|
4
|
-
"version": "0.1.
|
|
5
|
-
"main": "ark_proxy/entry.js",
|
|
6
|
-
"module": "ark_proxy_es/entry.js",
|
|
7
|
-
"types": "src/entrance/libTypes.ts",
|
|
8
|
-
"unpkg": "ark_dist/entry.js",
|
|
9
|
-
"files": [
|
|
10
|
-
"ark_dist",
|
|
11
|
-
"ark_proxy",
|
|
12
|
-
"ark_proxy_es",
|
|
13
|
-
"scripts",
|
|
14
|
-
"README.md",
|
|
15
|
-
"src"
|
|
16
|
-
],
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"@
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
"@
|
|
70
|
-
"@
|
|
71
|
-
"vue-
|
|
72
|
-
"vue-
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"vue": "
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
"
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@arkxos/arkos-core",
|
|
3
|
+
"appGroupName": "@arkxos/arkos-core",
|
|
4
|
+
"version": "0.1.7",
|
|
5
|
+
"main": "ark_proxy/entry.js",
|
|
6
|
+
"module": "ark_proxy_es/entry.js",
|
|
7
|
+
"types": "src/entrance/libTypes.ts",
|
|
8
|
+
"unpkg": "ark_dist/entry.js",
|
|
9
|
+
"files": [
|
|
10
|
+
"ark_dist",
|
|
11
|
+
"ark_proxy",
|
|
12
|
+
"ark_proxy_es",
|
|
13
|
+
"scripts",
|
|
14
|
+
"README.md",
|
|
15
|
+
"src"
|
|
16
|
+
],
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@arkxio/ark-iso": "0.1.1",
|
|
19
|
+
"@arkxos/arkos-util": "^0.1.0",
|
|
20
|
+
"core-js": "3.47.0",
|
|
21
|
+
"js-cookie": "3.0.1",
|
|
22
|
+
"dayjs": "1.11.9",
|
|
23
|
+
"file-saver": "2.0.5",
|
|
24
|
+
"@babel/runtime": "7.28.4",
|
|
25
|
+
"@element-plus/icons-vue": "2.3.2",
|
|
26
|
+
"@tinymce/tinymce-vue": "5.0.0",
|
|
27
|
+
"codemirror": "5.65.5",
|
|
28
|
+
"commander": "11.0.0",
|
|
29
|
+
"cropperjs": "1.5.13",
|
|
30
|
+
"cross-env": "7.0.3",
|
|
31
|
+
"crypto-js": "4.2.0",
|
|
32
|
+
"echarts": "5.4.1",
|
|
33
|
+
"loadjs": "4.2.0",
|
|
34
|
+
"lodash": "4.17.21",
|
|
35
|
+
"minireset.css": "0.0.7",
|
|
36
|
+
"moment": "2.29.4",
|
|
37
|
+
"nprogress": "0.2.0",
|
|
38
|
+
"process": "0.11.10",
|
|
39
|
+
"qrcodejs2": "0.0.2",
|
|
40
|
+
"sortablejs": "1.15.0",
|
|
41
|
+
"tinymce": "6.8.6",
|
|
42
|
+
"vue-simple-acl": "2.0.2",
|
|
43
|
+
"xgplayer": "2.32.2",
|
|
44
|
+
"xgplayer-hls": "2.5.2",
|
|
45
|
+
"@vueuse/core": "12.8.2",
|
|
46
|
+
"qs": "^6.10.1",
|
|
47
|
+
"mitt": "3.0.1"
|
|
48
|
+
},
|
|
49
|
+
"arkDependencies": {
|
|
50
|
+
"@arkxos/arkos-util": "1.0.200"
|
|
51
|
+
},
|
|
52
|
+
"peerDependencies": {
|
|
53
|
+
"@arkxio/ark-lib-proxy": "0.1.1",
|
|
54
|
+
"@arkxio/ark-micro": "0.1.3",
|
|
55
|
+
"vue-router": "4.4.5",
|
|
56
|
+
"vue-i18n": "9.8.0",
|
|
57
|
+
"axios": "^1.8.0",
|
|
58
|
+
"core-js": "3.47.0",
|
|
59
|
+
"vue": "3.5.12",
|
|
60
|
+
"pinia": "2.2.4",
|
|
61
|
+
"pinia-plugin-persistedstate": "^3.2.1",
|
|
62
|
+
"element-plus": "^2.13.0"
|
|
63
|
+
},
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"@arkxio/ark-dev-utils": "0.1.6",
|
|
66
|
+
"@rollup/plugin-typescript": "9.0.1",
|
|
67
|
+
"@types/jest": "29.5.14",
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "8.53.0",
|
|
69
|
+
"@typescript-eslint/parser": "8.53.0",
|
|
70
|
+
"@vue/cli-plugin-babel": "~5.0.0",
|
|
71
|
+
"@vue/cli-plugin-eslint": "~5.0.0",
|
|
72
|
+
"@vue/cli-plugin-typescript": "~5.0.0",
|
|
73
|
+
"@vue/cli-plugin-unit-jest": "~5.0.0",
|
|
74
|
+
"@vue/cli-service": "~5.0.0",
|
|
75
|
+
"@vue/eslint-config-standard": "6.1.0",
|
|
76
|
+
"@vue/eslint-config-typescript": "9.1.0",
|
|
77
|
+
"@vue/test-utils": "2.4.6",
|
|
78
|
+
"@vue/vue3-jest": "27.0.0-alpha.1",
|
|
79
|
+
"babel-jest": "27.0.6",
|
|
80
|
+
"chalk": "5.4.1",
|
|
81
|
+
"cross-env": "7.0.3",
|
|
82
|
+
"eslint": "8.57.1",
|
|
83
|
+
"eslint-plugin-import": "2.25.3",
|
|
84
|
+
"eslint-plugin-node": "11.1.0",
|
|
85
|
+
"eslint-plugin-promise": "5.1.0",
|
|
86
|
+
"eslint-plugin-vue": "8.0.3",
|
|
87
|
+
"jest": "27.0.5",
|
|
88
|
+
"rollup": "2.79.2",
|
|
89
|
+
"rollup-plugin-terser": "7.0.2",
|
|
90
|
+
"ts-jest": "27.0.4",
|
|
91
|
+
"typescript": "5.9.3",
|
|
92
|
+
"vue-cli-plugin-vite": "~1.5.0"
|
|
93
|
+
},
|
|
94
|
+
"publishConfig": {
|
|
95
|
+
"access": "public",
|
|
96
|
+
"registry": "https://registry.npmjs.org/"
|
|
97
|
+
},
|
|
98
|
+
"scripts": {
|
|
99
|
+
"start": "cross-env PORT=7004 vue-cli-service serve",
|
|
100
|
+
"start:vite": "node ./bin/vite",
|
|
101
|
+
"build": "npm run check_name && npm run build_dist && npm run build_meta && npm run build_proxy",
|
|
102
|
+
"build_dist": "vue-cli-service build",
|
|
103
|
+
"check_name": "node ./scripts/check.js",
|
|
104
|
+
"build_proxy": "npm run build_proxy_umd && npm run build_proxy_es && cp ./ark_proxy/entry.js ./ark_dist",
|
|
105
|
+
"build_proxy_umd": "rollup -c",
|
|
106
|
+
"build_proxy_es": "cross-env BUILD_ENV=es rollup -c",
|
|
107
|
+
"build_cust": "npm run set_home_page \"npm run build && npm run build_meta\"",
|
|
108
|
+
"set_home_page": "cross-env-shell HEL_APP_HOME_PAGE=http://127.0.0.1:9001",
|
|
109
|
+
"build_meta": "node scripts/meta.js",
|
|
110
|
+
"test:unit": "vue-cli-service test:unit",
|
|
111
|
+
"lint": "vue-cli-service lint"
|
|
112
|
+
}
|
|
113
|
+
}
|
package/src/api/model/auth.js
CHANGED
|
@@ -27,7 +27,7 @@ export default {
|
|
|
27
27
|
url: '/auth/oauth2/token',
|
|
28
28
|
name: '登录获取TOKEN',
|
|
29
29
|
post: async function (data = {}) {
|
|
30
|
-
const basicAuth = 'Basic ' + window.btoa('
|
|
30
|
+
const basicAuth = 'Basic ' + window.btoa('2011086324198563840:rapidark');
|
|
31
31
|
const headers = Object.assign({
|
|
32
32
|
skipToken: true,
|
|
33
33
|
Authorization: basicAuth,
|
package/src/core/system.ts
CHANGED
|
@@ -51,6 +51,10 @@ const system = {
|
|
|
51
51
|
if (!menu.path.startsWith('http') && !menu.path.startsWith('/')) {
|
|
52
52
|
menu.path = parentMenu?.path + '/' + menu.path
|
|
53
53
|
}
|
|
54
|
+
|
|
55
|
+
menu.dataPath = menu.path;
|
|
56
|
+
menu.path = menu.component || menu.path;
|
|
57
|
+
|
|
54
58
|
if (menu.children) {
|
|
55
59
|
this.fixMenuPath(menu.children, menu, menu.puzzleCode)
|
|
56
60
|
}
|
|
@@ -61,7 +65,6 @@ const system = {
|
|
|
61
65
|
const responseData = menusResponse.data;
|
|
62
66
|
const menus = responseData.menu || responseData;
|
|
63
67
|
|
|
64
|
-
tool.data.set('MENU', menus)
|
|
65
68
|
if (responseData.permissions) {
|
|
66
69
|
tool.data.set('PERMISSIONS', responseData.permissions)
|
|
67
70
|
}
|
|
@@ -72,11 +75,14 @@ const system = {
|
|
|
72
75
|
this.fixMenuPath(menus);
|
|
73
76
|
console.log('fixedMenus', menus)
|
|
74
77
|
|
|
78
|
+
tool.data.set('MENU', menus)
|
|
79
|
+
|
|
75
80
|
const puzzleInfos = {};
|
|
76
81
|
menus.forEach(item => {
|
|
77
82
|
if (!item.appCode) {
|
|
78
83
|
return;
|
|
79
84
|
}
|
|
85
|
+
|
|
80
86
|
if (!puzzleInfos[item.appCode]) {
|
|
81
87
|
puzzleInfos[item.appCode] = {
|
|
82
88
|
puzzleCode: item.appCode,
|
|
@@ -117,8 +123,7 @@ const system = {
|
|
|
117
123
|
puzzleLoader = system.dynamicLoadModule
|
|
118
124
|
}
|
|
119
125
|
console.log('prepare load puzzle[' + puzzleCode + '], loader is ', puzzleLoader)
|
|
120
|
-
|
|
121
|
-
{
|
|
126
|
+
puzzleLoader('puzzles', puzzleCode, '', '').then(p => {
|
|
122
127
|
console.log('load puzzle ' + puzzleCode, p)
|
|
123
128
|
console.log('import app[' + puzzle.puzzleCode + ']', p)
|
|
124
129
|
|
|
@@ -190,7 +195,9 @@ const system = {
|
|
|
190
195
|
}
|
|
191
196
|
// this.$store.registerModule(name, p.store[name]);
|
|
192
197
|
}
|
|
193
|
-
}
|
|
198
|
+
}).catch(err => {
|
|
199
|
+
console.log('load module fail ' + puzzle.id, err)
|
|
200
|
+
});
|
|
194
201
|
}
|
|
195
202
|
// 储存路由表
|
|
196
203
|
// systemStore
|
|
@@ -214,10 +221,12 @@ const system = {
|
|
|
214
221
|
}
|
|
215
222
|
const accessedRouters = []
|
|
216
223
|
routerMap.forEach(item => {
|
|
224
|
+
console.log('---menu', item)
|
|
217
225
|
item.meta = item.meta ? item.meta : {};
|
|
226
|
+
|
|
227
|
+
item.meta.url = item.dataPath;
|
|
218
228
|
// 处理外部链接特殊路由
|
|
219
229
|
if (item.meta.type == 'iframe') {
|
|
220
|
-
item.meta.url = item.path;
|
|
221
230
|
item.path = `/i/${item.name}`;
|
|
222
231
|
item.meta.iframe = 'iframe'
|
|
223
232
|
}
|
|
@@ -233,6 +242,7 @@ const system = {
|
|
|
233
242
|
children: item.children ? this.filterAsyncRouter(item.children, item, loadComponent) : null,
|
|
234
243
|
component: item.meta.type == 'iframe' ? null : loadComponent(item)
|
|
235
244
|
}
|
|
245
|
+
console.log('---route', route)
|
|
236
246
|
accessedRouters.push(route)
|
|
237
247
|
})
|
|
238
248
|
return accessedRouters
|