mirror of
https://gitee.com/fantastic-admin/basic.git
synced 2024-12-05 13:37:45 +08:00
Merge branch 'master' of https://gitee.com/hooray/fantastic-admin
This commit is contained in:
commit
551cf8e162
18
package.json
18
package.json
@ -17,7 +17,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@element-plus/icons": "^0.0.11",
|
||||
"@tinymce/tinymce-vue": "^4.0.4",
|
||||
"@tinymce/tinymce-vue": "^4.0.5",
|
||||
"axios": "^0.24.0",
|
||||
"dayjs": "^1.10.7",
|
||||
"element-plus": "^1.2.0-beta.3",
|
||||
@ -38,30 +38,30 @@
|
||||
"vuex": "^4.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-vue": "^1.9.4",
|
||||
"@vitejs/plugin-vue": "^1.10.0",
|
||||
"@vue/compiler-sfc": "^3.2.22",
|
||||
"eslint": "^8.2.0",
|
||||
"eslint": "^8.3.0",
|
||||
"eslint-plugin-vue": "^8.1.1",
|
||||
"http-server": "^14.0.0",
|
||||
"husky": "^7.0.4",
|
||||
"lint-staged": "^12.0.3",
|
||||
"lint-staged": "^12.1.2",
|
||||
"plop": "^2.7.6",
|
||||
"postcss-html": "^1.2.0",
|
||||
"postcss-html": "^1.3.0",
|
||||
"postcss-scss": "^4.0.2",
|
||||
"sass": "^1.43.4",
|
||||
"sass": "^1.43.5",
|
||||
"stylelint": "^14.1.0",
|
||||
"stylelint-config-html": "^1.0.0",
|
||||
"stylelint-config-recommended": "^6.0.0",
|
||||
"stylelint-config-recommended-scss": "^5.0.1",
|
||||
"stylelint-config-recommended-scss": "^5.0.2",
|
||||
"stylelint-config-recommended-vue": "^1.0.0",
|
||||
"stylelint-config-standard": "^24.0.0",
|
||||
"stylelint-scss": "^4.0.0",
|
||||
"svgo": "^2.8.0",
|
||||
"unplugin-auto-import": "^0.4.14",
|
||||
"unplugin-auto-import": "^0.4.18",
|
||||
"unplugin-vue-components": "^0.17.2",
|
||||
"vite": "^2.6.14",
|
||||
"vite-plugin-banner": "^0.1.3",
|
||||
"vite-plugin-compression": "^0.3.5",
|
||||
"vite-plugin-compression": "^0.3.6",
|
||||
"vite-plugin-html": "^2.1.1",
|
||||
"vite-plugin-mock": "^2.9.6",
|
||||
"vite-plugin-restart": "^0.0.2",
|
||||
|
259
pnpm-lock.yaml
259
pnpm-lock.yaml
@ -2,19 +2,19 @@ lockfileVersion: 5.3
|
||||
|
||||
specifiers:
|
||||
'@element-plus/icons': ^0.0.11
|
||||
'@tinymce/tinymce-vue': ^4.0.4
|
||||
'@vitejs/plugin-vue': ^1.9.4
|
||||
'@tinymce/tinymce-vue': ^4.0.5
|
||||
'@vitejs/plugin-vue': ^1.10.0
|
||||
'@vue/compiler-sfc': ^3.2.22
|
||||
axios: ^0.24.0
|
||||
dayjs: ^1.10.7
|
||||
element-plus: ^1.2.0-beta.3
|
||||
eslint: ^8.2.0
|
||||
eslint: ^8.3.0
|
||||
eslint-plugin-vue: ^8.1.1
|
||||
hotkeys-js: ^3.8.7
|
||||
http-server: ^14.0.0
|
||||
husky: ^7.0.4
|
||||
js-cookie: ^3.0.1
|
||||
lint-staged: ^12.0.3
|
||||
lint-staged: ^12.1.2
|
||||
mavon-editor: ^3.0.0-beta
|
||||
mitt: ^3.0.0
|
||||
mockjs: ^1.1.0
|
||||
@ -23,25 +23,25 @@ specifiers:
|
||||
path-browserify: ^1.0.1
|
||||
path-to-regexp: ^6.2.0
|
||||
plop: ^2.7.6
|
||||
postcss-html: ^1.2.0
|
||||
postcss-html: ^1.3.0
|
||||
postcss-scss: ^4.0.2
|
||||
qs: ^6.10.1
|
||||
sass: ^1.43.4
|
||||
sass: ^1.43.5
|
||||
screenfull: ^6.0.0
|
||||
stylelint: ^14.1.0
|
||||
stylelint-config-html: ^1.0.0
|
||||
stylelint-config-recommended: ^6.0.0
|
||||
stylelint-config-recommended-scss: ^5.0.1
|
||||
stylelint-config-recommended-scss: ^5.0.2
|
||||
stylelint-config-recommended-vue: ^1.0.0
|
||||
stylelint-config-standard: ^24.0.0
|
||||
stylelint-scss: ^4.0.0
|
||||
svgo: ^2.8.0
|
||||
tinymce: ^5.10.2
|
||||
unplugin-auto-import: ^0.4.14
|
||||
unplugin-auto-import: ^0.4.18
|
||||
unplugin-vue-components: ^0.17.2
|
||||
vite: ^2.6.14
|
||||
vite-plugin-banner: ^0.1.3
|
||||
vite-plugin-compression: ^0.3.5
|
||||
vite-plugin-compression: ^0.3.6
|
||||
vite-plugin-html: ^2.1.1
|
||||
vite-plugin-mock: ^2.9.6
|
||||
vite-plugin-restart: ^0.0.2
|
||||
@ -55,7 +55,7 @@ specifiers:
|
||||
|
||||
dependencies:
|
||||
'@element-plus/icons': 0.0.11
|
||||
'@tinymce/tinymce-vue': 4.0.4_vue@3.2.22
|
||||
'@tinymce/tinymce-vue': 4.0.5_vue@3.2.22
|
||||
axios: 0.24.0
|
||||
dayjs: 1.10.7
|
||||
element-plus: 1.2.0-beta.3_vue@3.2.22
|
||||
@ -76,37 +76,37 @@ dependencies:
|
||||
vuex: 4.0.2_vue@3.2.22
|
||||
|
||||
devDependencies:
|
||||
'@vitejs/plugin-vue': 1.9.4_vite@2.6.14
|
||||
'@vitejs/plugin-vue': 1.10.0_vite@2.6.14
|
||||
'@vue/compiler-sfc': 3.2.22
|
||||
eslint: 8.2.0
|
||||
eslint-plugin-vue: 8.1.1_eslint@8.2.0
|
||||
eslint: 8.3.0
|
||||
eslint-plugin-vue: 8.1.1_eslint@8.3.0
|
||||
http-server: 14.0.0
|
||||
husky: 7.0.4
|
||||
lint-staged: 12.0.3
|
||||
lint-staged: 12.1.2
|
||||
plop: 2.7.6
|
||||
postcss-html: 1.2.0
|
||||
postcss-html: 1.3.0
|
||||
postcss-scss: 4.0.2
|
||||
sass: 1.43.4
|
||||
sass: 1.43.5
|
||||
stylelint: 14.1.0
|
||||
stylelint-config-html: 1.0.0_ac89f3e65c9a1d8d711cc3db898969a8
|
||||
stylelint-config-html: 1.0.0_c1fe332c2f0bd1acbb28be685cc2d480
|
||||
stylelint-config-recommended: 6.0.0_stylelint@14.1.0
|
||||
stylelint-config-recommended-scss: 5.0.1_stylelint@14.1.0
|
||||
stylelint-config-recommended-vue: 1.0.0_ac89f3e65c9a1d8d711cc3db898969a8
|
||||
stylelint-config-recommended-scss: 5.0.2_stylelint@14.1.0
|
||||
stylelint-config-recommended-vue: 1.0.0_c1fe332c2f0bd1acbb28be685cc2d480
|
||||
stylelint-config-standard: 24.0.0_stylelint@14.1.0
|
||||
stylelint-scss: 4.0.0_stylelint@14.1.0
|
||||
svgo: 2.8.0
|
||||
unplugin-auto-import: 0.4.14_vite@2.6.14
|
||||
unplugin-auto-import: 0.4.18_vite@2.6.14
|
||||
unplugin-vue-components: 0.17.2_vite@2.6.14+vue@3.2.22
|
||||
vite: 2.6.14_sass@1.43.4
|
||||
vite: 2.6.14_sass@1.43.5
|
||||
vite-plugin-banner: 0.1.3
|
||||
vite-plugin-compression: 0.3.5_vite@2.6.14
|
||||
vite-plugin-compression: 0.3.6_vite@2.6.14
|
||||
vite-plugin-html: 2.1.1_vite@2.6.14
|
||||
vite-plugin-mock: 2.9.6_mockjs@1.1.0+vite@2.6.14
|
||||
vite-plugin-restart: 0.0.2_vite@2.6.14
|
||||
vite-plugin-spritesmith: 0.1.1
|
||||
vite-plugin-svg-icons: 1.0.5_vite@2.6.14
|
||||
vite-plugin-vue-setup-extend: 0.1.0_vite@2.6.14
|
||||
vue-eslint-parser: 8.0.1_eslint@8.2.0
|
||||
vue-eslint-parser: 8.0.1_eslint@8.3.0
|
||||
|
||||
packages:
|
||||
|
||||
@ -160,7 +160,7 @@ packages:
|
||||
dependencies:
|
||||
ajv: 6.12.6
|
||||
debug: 4.3.2
|
||||
espree: 9.0.0
|
||||
espree: 9.1.0
|
||||
globals: 13.11.0
|
||||
ignore: 4.0.6
|
||||
import-fresh: 3.3.0
|
||||
@ -244,11 +244,12 @@ packages:
|
||||
picomatch: 2.3.0
|
||||
dev: true
|
||||
|
||||
/@tinymce/tinymce-vue/4.0.4_vue@3.2.22:
|
||||
resolution: {integrity: sha1-tHk08tHhBqya9/qboDFqjJbtMUw=, tarball: '@tinymce/tinymce-vue/download/@tinymce/tinymce-vue-4.0.4.tgz'}
|
||||
/@tinymce/tinymce-vue/4.0.5_vue@3.2.22:
|
||||
resolution: {integrity: sha512-PutMhPVgR+NPeu20pvTmFBY+3zKwTJqK0JPDb6QuK8u1g6Av4RaiUVS58Rft6mhoxVE99tIofdr69wOH/X0swA==, tarball: '@tinymce/tinymce-vue/download/@tinymce/tinymce-vue-4.0.5.tgz'}
|
||||
peerDependencies:
|
||||
vue: ^3.0.0
|
||||
dependencies:
|
||||
tinymce: 5.10.2
|
||||
vue: 3.2.22
|
||||
dev: false
|
||||
|
||||
@ -343,13 +344,13 @@ packages:
|
||||
'@types/node': 16.11.4
|
||||
dev: true
|
||||
|
||||
/@vitejs/plugin-vue/1.9.4_vite@2.6.14:
|
||||
resolution: {integrity: sha1-T0hIVDLLuYap+50lTcM84w3cy/o=, tarball: '@vitejs/plugin-vue/download/@vitejs/plugin-vue-1.9.4.tgz'}
|
||||
/@vitejs/plugin-vue/1.10.0_vite@2.6.14:
|
||||
resolution: {integrity: sha512-XkSN7lduhQ3z/WMXv2spqt9TCS0znCjnvIGmbud2bxViWWWR4JWXE+x/cQZ/klR0Ug4Ts9eubL7LXAysON5Uvg==, tarball: '@vitejs/plugin-vue/download/@vitejs/plugin-vue-1.10.0.tgz'}
|
||||
engines: {node: '>=12.0.0'}
|
||||
peerDependencies:
|
||||
vite: ^2.5.10
|
||||
dependencies:
|
||||
vite: 2.6.14_sass@1.43.4
|
||||
vite: 2.6.14_sass@1.43.5
|
||||
dev: true
|
||||
|
||||
/@vue/compiler-core/3.2.22:
|
||||
@ -464,16 +465,16 @@ packages:
|
||||
vue-demi: 0.12.1_vue@3.2.22
|
||||
dev: false
|
||||
|
||||
/acorn-jsx/5.3.2_acorn@8.5.0:
|
||||
/acorn-jsx/5.3.2_acorn@8.6.0:
|
||||
resolution: {integrity: sha1-ftW7VZCLOy8bxVxq8WU7rafweTc=, tarball: acorn-jsx/download/acorn-jsx-5.3.2.tgz}
|
||||
peerDependencies:
|
||||
acorn: ^6.0.0 || ^7.0.0 || ^8.0.0
|
||||
dependencies:
|
||||
acorn: 8.5.0
|
||||
acorn: 8.6.0
|
||||
dev: true
|
||||
|
||||
/acorn/8.5.0:
|
||||
resolution: {integrity: sha1-RRLMuZs2mMdSWR6btEcuOK1DzuI=, tarball: acorn/download/acorn-8.5.0.tgz}
|
||||
/acorn/8.6.0:
|
||||
resolution: {integrity: sha512-U1riIR+lBSNi3IbxtaHOIKdH8sLFv3NYfNv8sg7ZsNhcfl4HF2++BfqqrNAxoCLQW1iiylOj76ecnaUxz+z9yw==, tarball: acorn/download/acorn-8.6.0.tgz}
|
||||
engines: {node: '>=0.4.0'}
|
||||
hasBin: true
|
||||
dev: true
|
||||
@ -1637,17 +1638,17 @@ packages:
|
||||
engines: {node: '>=10'}
|
||||
dev: true
|
||||
|
||||
/eslint-plugin-vue/8.1.1_eslint@8.2.0:
|
||||
/eslint-plugin-vue/8.1.1_eslint@8.3.0:
|
||||
resolution: {integrity: sha512-rx64IrlhdfPya6u2V5ukOGiLCTgaCBdMSpczLVqyo8A0l+Vbo+lzvIfEUfAQ2auj+MF6y0TwxLorzdCIzHunnw==, tarball: eslint-plugin-vue/download/eslint-plugin-vue-8.1.1.tgz}
|
||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||
peerDependencies:
|
||||
eslint: ^6.2.0 || ^7.0.0 || ^8.0.0
|
||||
dependencies:
|
||||
eslint: 8.2.0
|
||||
eslint-utils: 3.0.0_eslint@8.2.0
|
||||
eslint: 8.3.0
|
||||
eslint-utils: 3.0.0_eslint@8.3.0
|
||||
natural-compare: 1.4.0
|
||||
semver: 7.3.5
|
||||
vue-eslint-parser: 8.0.1_eslint@8.2.0
|
||||
vue-eslint-parser: 8.0.1_eslint@8.3.0
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
dev: true
|
||||
@ -1660,13 +1661,21 @@ packages:
|
||||
estraverse: 5.3.0
|
||||
dev: true
|
||||
|
||||
/eslint-utils/3.0.0_eslint@8.2.0:
|
||||
/eslint-scope/7.1.0:
|
||||
resolution: {integrity: sha512-aWwkhnS0qAXqNOgKOK0dJ2nvzEbhEvpy8OlJ9kZ0FeZnA6zpjv1/Vei+puGFFX7zkPCkHHXb7IDX3A+7yPrRWg==, tarball: eslint-scope/download/eslint-scope-7.1.0.tgz}
|
||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||
dependencies:
|
||||
esrecurse: 4.3.0
|
||||
estraverse: 5.3.0
|
||||
dev: true
|
||||
|
||||
/eslint-utils/3.0.0_eslint@8.3.0:
|
||||
resolution: {integrity: sha1-iuuvrOc0W7M1WdsKHxOh0tSMNnI=, tarball: eslint-utils/download/eslint-utils-3.0.0.tgz}
|
||||
engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0}
|
||||
peerDependencies:
|
||||
eslint: '>=5'
|
||||
dependencies:
|
||||
eslint: 8.2.0
|
||||
eslint: 8.3.0
|
||||
eslint-visitor-keys: 2.1.0
|
||||
dev: true
|
||||
|
||||
@ -1680,8 +1689,13 @@ packages:
|
||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||
dev: true
|
||||
|
||||
/eslint/8.2.0:
|
||||
resolution: {integrity: sha1-RNP7UG0PhmpQbZeg/A6Q7m0GqBU=, tarball: eslint/download/eslint-8.2.0.tgz}
|
||||
/eslint-visitor-keys/3.1.0:
|
||||
resolution: {integrity: sha512-yWJFpu4DtjsWKkt5GeNBBuZMlNcYVs6vRCLoCVEJrTjaSB6LC98gFipNK/erM2Heg/E8mIK+hXG/pJMLK+eRZA==, tarball: eslint-visitor-keys/download/eslint-visitor-keys-3.1.0.tgz}
|
||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||
dev: true
|
||||
|
||||
/eslint/8.3.0:
|
||||
resolution: {integrity: sha512-aIay56Ph6RxOTC7xyr59Kt3ewX185SaGnAr8eWukoPLeriCrvGjvAubxuvaXOfsxhtwV5g0uBOsyhAom4qJdww==, tarball: eslint/download/eslint-8.3.0.tgz}
|
||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||
hasBin: true
|
||||
dependencies:
|
||||
@ -1694,10 +1708,10 @@ packages:
|
||||
doctrine: 3.0.0
|
||||
enquirer: 2.3.6
|
||||
escape-string-regexp: 4.0.0
|
||||
eslint-scope: 6.0.0
|
||||
eslint-utils: 3.0.0_eslint@8.2.0
|
||||
eslint-visitor-keys: 3.0.0
|
||||
espree: 9.0.0
|
||||
eslint-scope: 7.1.0
|
||||
eslint-utils: 3.0.0_eslint@8.3.0
|
||||
eslint-visitor-keys: 3.1.0
|
||||
espree: 9.1.0
|
||||
esquery: 1.4.0
|
||||
esutils: 2.0.3
|
||||
fast-deep-equal: 3.1.3
|
||||
@ -1731,11 +1745,20 @@ packages:
|
||||
resolution: {integrity: sha1-6QopZWmCKFAudxx6WEibGp0QcJA=, tarball: espree/download/espree-9.0.0.tgz}
|
||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||
dependencies:
|
||||
acorn: 8.5.0
|
||||
acorn-jsx: 5.3.2_acorn@8.5.0
|
||||
acorn: 8.6.0
|
||||
acorn-jsx: 5.3.2_acorn@8.6.0
|
||||
eslint-visitor-keys: 3.0.0
|
||||
dev: true
|
||||
|
||||
/espree/9.1.0:
|
||||
resolution: {integrity: sha512-ZgYLvCS1wxOczBYGcQT9DDWgicXwJ4dbocr9uYN+/eresBAUuBu+O4WzB21ufQ/JqQT8gyp7hJ3z8SHii32mTQ==, tarball: espree/download/espree-9.1.0.tgz}
|
||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||
dependencies:
|
||||
acorn: 8.6.0
|
||||
acorn-jsx: 5.3.2_acorn@8.6.0
|
||||
eslint-visitor-keys: 3.1.0
|
||||
dev: true
|
||||
|
||||
/esquery/1.4.0:
|
||||
resolution: {integrity: sha1-IUj/w4uC6McFff7UhCWz5h8PJKU=, tarball: esquery/download/esquery-1.4.0.tgz}
|
||||
engines: {node: '>=0.10'}
|
||||
@ -2942,28 +2965,34 @@ packages:
|
||||
resolve: 1.20.0
|
||||
dev: true
|
||||
|
||||
/lilconfig/2.0.4:
|
||||
resolution: {integrity: sha1-9FB9BD1wWLOAtqj1y3vNSzTO4II=, tarball: lilconfig/download/lilconfig-2.0.4.tgz}
|
||||
engines: {node: '>=10'}
|
||||
dev: true
|
||||
|
||||
/lines-and-columns/1.1.6:
|
||||
resolution: {integrity: sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=, tarball: lines-and-columns/download/lines-and-columns-1.1.6.tgz}
|
||||
dev: true
|
||||
|
||||
/lint-staged/12.0.3:
|
||||
resolution: {integrity: sha512-/NwNQjrhqz+AjV+e0URbtphvpHNcNdR/W6p9GxO+qIg7cxCxy0uKYO0xORQhZamp1BPjIhRUWsjbLnwEIiPHgQ==, tarball: lint-staged/download/lint-staged-12.0.3.tgz}
|
||||
/lint-staged/12.1.2:
|
||||
resolution: {integrity: sha512-bSMcQVqMW98HLLLR2c2tZ+vnDCnx4fd+0QJBQgN/4XkdspGRPc8DGp7UuOEBe1ApCfJ+wXXumYnJmU+wDo7j9A==, tarball: lint-staged/download/lint-staged-12.1.2.tgz}
|
||||
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
|
||||
hasBin: true
|
||||
dependencies:
|
||||
cli-truncate: 3.1.0
|
||||
colorette: 2.0.16
|
||||
commander: 8.3.0
|
||||
cosmiconfig: 7.0.1
|
||||
debug: 4.3.2_supports-color@9.0.2
|
||||
enquirer: 2.3.6
|
||||
execa: 5.1.1
|
||||
lilconfig: 2.0.4
|
||||
listr2: 3.13.3_enquirer@2.3.6
|
||||
micromatch: 4.0.4
|
||||
normalize-path: 3.0.0
|
||||
object-inspect: 1.11.0
|
||||
string-argv: 0.3.1
|
||||
supports-color: 9.0.2
|
||||
yaml: 1.10.2
|
||||
dev: true
|
||||
|
||||
/listr2/3.13.3_enquirer@2.3.6:
|
||||
@ -2998,6 +3027,13 @@ packages:
|
||||
mlly: 0.2.10
|
||||
dev: true
|
||||
|
||||
/local-pkg/0.4.0:
|
||||
resolution: {integrity: sha1-5iIRcYE9WggS3YT6gP+xyPzABTE=, tarball: local-pkg/download/local-pkg-0.4.0.tgz}
|
||||
engines: {node: '>=14'}
|
||||
dependencies:
|
||||
mlly: 0.2.10
|
||||
dev: true
|
||||
|
||||
/locate-path/5.0.0:
|
||||
resolution: {integrity: sha1-Gvujlq/WdqbUJQTQpno6frn2KqA=, tarball: locate-path/download/locate-path-5.0.0.tgz}
|
||||
engines: {node: '>=8'}
|
||||
@ -3765,13 +3801,13 @@ packages:
|
||||
engines: {node: '>=0.10.0'}
|
||||
dev: true
|
||||
|
||||
/postcss-html/1.2.0:
|
||||
resolution: {integrity: sha1-9JaTncnKe3dDJhJbTHA42xPQSQA=, tarball: postcss-html/download/postcss-html-1.2.0.tgz}
|
||||
/postcss-html/1.3.0:
|
||||
resolution: {integrity: sha512-ewbwd7OGW4dLsErtvZH9HpVMEcXnlhYSzKsr7MepGlOT8imHTIZ/+pdfEruLS+hTYapLTQAWDnoQcJpsYU4uRw==, tarball: postcss-html/download/postcss-html-1.3.0.tgz}
|
||||
engines: {node: ^12 || >=14}
|
||||
dependencies:
|
||||
htmlparser2: 7.1.2
|
||||
postcss: 8.3.11
|
||||
postcss-safe-parser: 6.0.0_postcss@8.3.11
|
||||
postcss: 8.4.1
|
||||
postcss-safe-parser: 6.0.0_postcss@8.4.1
|
||||
dev: true
|
||||
|
||||
/postcss-media-query-parser/0.2.3:
|
||||
@ -3781,7 +3817,7 @@ packages:
|
||||
/postcss-prefix-selector/1.13.0:
|
||||
resolution: {integrity: sha1-E2w+uEjtrO2QQXuxA4PeVsB1V/Y=, tarball: postcss-prefix-selector/download/postcss-prefix-selector-1.13.0.tgz}
|
||||
dependencies:
|
||||
postcss: 8.3.11
|
||||
postcss: 8.4.1
|
||||
dev: true
|
||||
|
||||
/postcss-resolve-nested-selector/0.1.1:
|
||||
@ -3797,6 +3833,15 @@ packages:
|
||||
postcss: 8.3.11
|
||||
dev: true
|
||||
|
||||
/postcss-safe-parser/6.0.0_postcss@8.4.1:
|
||||
resolution: {integrity: sha1-u0wpiUFxqUvFyZa5owMX70Aq2qE=, tarball: postcss-safe-parser/download/postcss-safe-parser-6.0.0.tgz}
|
||||
engines: {node: '>=12.0'}
|
||||
peerDependencies:
|
||||
postcss: ^8.3.3
|
||||
dependencies:
|
||||
postcss: 8.4.1
|
||||
dev: true
|
||||
|
||||
/postcss-scss/4.0.2:
|
||||
resolution: {integrity: sha1-Od3MCrMvFV1asyjukTU9Z6UtU3s=, tarball: postcss-scss/download/postcss-scss-4.0.2.tgz?cache=0&sync_timestamp=1635496549918&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fpostcss-scss%2Fdownload%2Fpostcss-scss-4.0.2.tgz}
|
||||
engines: {node: '>=12.0'}
|
||||
@ -3843,6 +3888,15 @@ packages:
|
||||
picocolors: 0.2.1
|
||||
source-map-js: 0.6.2
|
||||
|
||||
/postcss/8.4.1:
|
||||
resolution: {integrity: sha512-WqLs/TTzXdG+/A4ZOOK9WDZiikrRaiA+eoEb/jz2DT9KUhMNHgP7yKPO8vwi62ZCsb703Gwb7BMZwDzI54Y2Ag==, tarball: postcss/download/postcss-8.4.1.tgz}
|
||||
engines: {node: ^10 || ^12 || >=14}
|
||||
dependencies:
|
||||
nanoid: 3.1.30
|
||||
picocolors: 1.0.0
|
||||
source-map-js: 1.0.1
|
||||
dev: true
|
||||
|
||||
/posthtml-parser/0.2.1:
|
||||
resolution: {integrity: sha1-NdUw3jhnQMK6JP8usvrznM3ycd0=, tarball: posthtml-parser/download/posthtml-parser-0.2.1.tgz}
|
||||
dependencies:
|
||||
@ -4194,8 +4248,8 @@ packages:
|
||||
ret: 0.1.15
|
||||
dev: true
|
||||
|
||||
/sass/1.43.4:
|
||||
resolution: {integrity: sha1-aMfWobAEvvSa8NnK91DpslIQXR8=, tarball: sass/download/sass-1.43.4.tgz}
|
||||
/sass/1.43.5:
|
||||
resolution: {integrity: sha512-WuNm+eAryMgQluL7Mbq9M4EruyGGMyal7Lu58FfnRMVWxgUzIvI7aSn60iNt3kn5yZBMR7G84fAGDcwqOF5JOg==, tarball: sass/download/sass-1.43.5.tgz}
|
||||
engines: {node: '>=8.9.0'}
|
||||
hasBin: true
|
||||
dependencies:
|
||||
@ -4352,6 +4406,11 @@ packages:
|
||||
resolution: {integrity: sha1-C7XeYxtBz72mz7qL0FqA79/SOF4=, tarball: source-map-js/download/source-map-js-0.6.2.tgz}
|
||||
engines: {node: '>=0.10.0'}
|
||||
|
||||
/source-map-js/1.0.1:
|
||||
resolution: {integrity: sha512-4+TN2b3tqOCd/kaGRJ/sTYA0tR0mdXx26ipdolxcwtJVqEnqNYvlCAt1q3ypy4QMlYus+Zh34RNtYLoq2oQ4IA==, tarball: source-map-js/download/source-map-js-1.0.1.tgz}
|
||||
engines: {node: '>=0.10.0'}
|
||||
dev: true
|
||||
|
||||
/source-map-resolve/0.5.3:
|
||||
resolution: {integrity: sha1-GQhmvs51U+H48mei7oLGBrVQmho=, tarball: source-map-resolve/download/source-map-resolve-0.5.3.tgz}
|
||||
dependencies:
|
||||
@ -4586,19 +4645,19 @@ packages:
|
||||
resolution: {integrity: sha1-eVjHk+R+MuB9K1yv5cC/jhLneQI=, tarball: style-search/download/style-search-0.1.0.tgz}
|
||||
dev: true
|
||||
|
||||
/stylelint-config-html/1.0.0_ac89f3e65c9a1d8d711cc3db898969a8:
|
||||
/stylelint-config-html/1.0.0_c1fe332c2f0bd1acbb28be685cc2d480:
|
||||
resolution: {integrity: sha1-FyrLmW7kyFToxnD8/3f/DZjTvsI=, tarball: stylelint-config-html/download/stylelint-config-html-1.0.0.tgz}
|
||||
engines: {node: ^12 || >=14}
|
||||
peerDependencies:
|
||||
postcss-html: ^1.0.0
|
||||
stylelint: '>=14.0.0'
|
||||
dependencies:
|
||||
postcss-html: 1.2.0
|
||||
postcss-html: 1.3.0
|
||||
stylelint: 14.1.0
|
||||
dev: true
|
||||
|
||||
/stylelint-config-recommended-scss/5.0.1_stylelint@14.1.0:
|
||||
resolution: {integrity: sha512-kVI5lX8jtaw9uNnnxxziw+LhW59m0x/JzGj8zVepeFQJ56eM4HazN4gMyCRQQSLr/8CXlIHGOW34CV5hIMr3FQ==, tarball: stylelint-config-recommended-scss/download/stylelint-config-recommended-scss-5.0.1.tgz}
|
||||
/stylelint-config-recommended-scss/5.0.2_stylelint@14.1.0:
|
||||
resolution: {integrity: sha512-b14BSZjcwW0hqbzm9b0S/ScN2+3CO3O4vcMNOw2KGf8lfVSwJ4p5TbNEXKwKl1+0FMtgRXZj6DqVUe/7nGnuBg==, tarball: stylelint-config-recommended-scss/download/stylelint-config-recommended-scss-5.0.2.tgz}
|
||||
peerDependencies:
|
||||
stylelint: ^14.0.0
|
||||
dependencies:
|
||||
@ -4610,16 +4669,16 @@ packages:
|
||||
- postcss
|
||||
dev: true
|
||||
|
||||
/stylelint-config-recommended-vue/1.0.0_ac89f3e65c9a1d8d711cc3db898969a8:
|
||||
/stylelint-config-recommended-vue/1.0.0_c1fe332c2f0bd1acbb28be685cc2d480:
|
||||
resolution: {integrity: sha1-XNL3GQzc23wAYgTTTn1elrtFFb4=, tarball: stylelint-config-recommended-vue/download/stylelint-config-recommended-vue-1.0.0.tgz}
|
||||
engines: {node: ^12 || >=14}
|
||||
peerDependencies:
|
||||
postcss-html: ^1.0.0
|
||||
stylelint: '>=14.0.0'
|
||||
dependencies:
|
||||
postcss-html: 1.2.0
|
||||
postcss-html: 1.3.0
|
||||
stylelint: 14.1.0
|
||||
stylelint-config-html: 1.0.0_ac89f3e65c9a1d8d711cc3db898969a8
|
||||
stylelint-config-html: 1.0.0_c1fe332c2f0bd1acbb28be685cc2d480
|
||||
stylelint-config-recommended: 6.0.0_stylelint@14.1.0
|
||||
dev: true
|
||||
|
||||
@ -4990,21 +5049,21 @@ packages:
|
||||
engines: {node: '>= 0.8'}
|
||||
dev: true
|
||||
|
||||
/unplugin-auto-import/0.4.14_vite@2.6.14:
|
||||
resolution: {integrity: sha512-ui+M+E30xrdbXGt0+MMEM4fKhDqoBlv+xVKiYllVqUplqg/sFuXe28DBxM2xi2zAbwd/Vw3KUcLdvSmjzpA7+A==, tarball: unplugin-auto-import/download/unplugin-auto-import-0.4.14.tgz}
|
||||
/unplugin-auto-import/0.4.18_vite@2.6.14:
|
||||
resolution: {integrity: sha512-cbb6uuNo07ZyeaTQtFChDWxpApZC5z9aKBCR2SxLzJ8JYY70kDuS9MFOCfRB+v96rLbtenjdsgBlErYGqA+9zQ==, tarball: unplugin-auto-import/download/unplugin-auto-import-0.4.18.tgz}
|
||||
engines: {node: '>=14'}
|
||||
peerDependencies:
|
||||
'@vueuse/core': ^6.0.0
|
||||
'@vueuse/core': '*'
|
||||
peerDependenciesMeta:
|
||||
'@vueuse/core':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@antfu/utils': 0.3.0
|
||||
'@rollup/pluginutils': 4.1.1
|
||||
local-pkg: 0.1.0
|
||||
local-pkg: 0.4.0
|
||||
magic-string: 0.25.7
|
||||
resolve: 1.20.0
|
||||
unplugin: 0.2.16_vite@2.6.14
|
||||
unplugin: 0.2.21_vite@2.6.14
|
||||
transitivePeerDependencies:
|
||||
- rollup
|
||||
- vite
|
||||
@ -5042,24 +5101,6 @@ packages:
|
||||
- webpack
|
||||
dev: true
|
||||
|
||||
/unplugin/0.2.16_vite@2.6.14:
|
||||
resolution: {integrity: sha1-bzTp9QaMo+ySo2sBb0e1rYu4dco=, tarball: unplugin/download/unplugin-0.2.16.tgz}
|
||||
peerDependencies:
|
||||
rollup: ^2.50.0
|
||||
vite: ^2.3.0
|
||||
webpack: 4 || 5
|
||||
peerDependenciesMeta:
|
||||
rollup:
|
||||
optional: true
|
||||
vite:
|
||||
optional: true
|
||||
webpack:
|
||||
optional: true
|
||||
dependencies:
|
||||
vite: 2.6.14_sass@1.43.4
|
||||
webpack-virtual-modules: 0.4.3
|
||||
dev: true
|
||||
|
||||
/unplugin/0.2.19_vite@2.6.14:
|
||||
resolution: {integrity: sha1-8WmbNurvFL6Uz16zur/hysN75no=, tarball: unplugin/download/unplugin-0.2.19.tgz}
|
||||
peerDependencies:
|
||||
@ -5074,7 +5115,25 @@ packages:
|
||||
webpack:
|
||||
optional: true
|
||||
dependencies:
|
||||
vite: 2.6.14_sass@1.43.4
|
||||
vite: 2.6.14_sass@1.43.5
|
||||
webpack-virtual-modules: 0.4.3
|
||||
dev: true
|
||||
|
||||
/unplugin/0.2.21_vite@2.6.14:
|
||||
resolution: {integrity: sha512-IJ15/L5XbhnV7J09Zjk0FT5HEkBjkXucWAXQWRsmEtUxmmxwh23yavrmDbCF6ZPxWiVB28+wnKIHePTRRpQPbQ==, tarball: unplugin/download/unplugin-0.2.21.tgz}
|
||||
peerDependencies:
|
||||
rollup: ^2.50.0
|
||||
vite: ^2.3.0
|
||||
webpack: 4 || 5
|
||||
peerDependenciesMeta:
|
||||
rollup:
|
||||
optional: true
|
||||
vite:
|
||||
optional: true
|
||||
webpack:
|
||||
optional: true
|
||||
dependencies:
|
||||
vite: 2.6.14_sass@1.43.5
|
||||
webpack-virtual-modules: 0.4.3
|
||||
dev: true
|
||||
|
||||
@ -5188,15 +5247,15 @@ packages:
|
||||
resolution: {integrity: sha1-09To4oSt3tNf6qVKuMonOp0zSeA=, tarball: vite-plugin-banner/download/vite-plugin-banner-0.1.3.tgz}
|
||||
dev: true
|
||||
|
||||
/vite-plugin-compression/0.3.5_vite@2.6.14:
|
||||
resolution: {integrity: sha1-HlM460PmASjebW8isqq/Dj3AwX8=, tarball: vite-plugin-compression/download/vite-plugin-compression-0.3.5.tgz}
|
||||
/vite-plugin-compression/0.3.6_vite@2.6.14:
|
||||
resolution: {integrity: sha512-aSskQCJsP3VQ8PsnY+vO7UfD5qoFMOEuzg0PG2E9Zqyx+ARmc3wr9KCgOFraZOFW1Y4UAa5BR0SMTjoxHRMJoQ==, tarball: vite-plugin-compression/download/vite-plugin-compression-0.3.6.tgz}
|
||||
peerDependencies:
|
||||
vite: '>=2.0.0'
|
||||
dependencies:
|
||||
chalk: 4.1.2
|
||||
debug: 4.3.2
|
||||
fs-extra: 10.0.0
|
||||
vite: 2.6.14_sass@1.43.4
|
||||
vite: 2.6.14_sass@1.43.5
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
dev: true
|
||||
@ -5212,7 +5271,7 @@ packages:
|
||||
ejs: 3.1.6
|
||||
fs-extra: 10.0.0
|
||||
html-minifier-terser: 5.1.1
|
||||
vite: 2.6.14_sass@1.43.4
|
||||
vite: 2.6.14_sass@1.43.5
|
||||
dev: true
|
||||
|
||||
/vite-plugin-mock/2.9.6_mockjs@1.1.0+vite@2.6.14:
|
||||
@ -5232,7 +5291,7 @@ packages:
|
||||
fast-glob: 3.2.7
|
||||
mockjs: 1.1.0
|
||||
path-to-regexp: 6.2.0
|
||||
vite: 2.6.14_sass@1.43.4
|
||||
vite: 2.6.14_sass@1.43.5
|
||||
transitivePeerDependencies:
|
||||
- rollup
|
||||
- supports-color
|
||||
@ -5245,7 +5304,7 @@ packages:
|
||||
dependencies:
|
||||
chalk: 4.1.2
|
||||
micromatch: 4.0.4
|
||||
vite: 2.6.14_sass@1.43.4
|
||||
vite: 2.6.14_sass@1.43.5
|
||||
dev: true
|
||||
|
||||
/vite-plugin-spritesmith/0.1.1:
|
||||
@ -5271,7 +5330,7 @@ packages:
|
||||
fs-extra: 10.0.0
|
||||
svg-baker: 1.7.0
|
||||
svgo: 2.8.0
|
||||
vite: 2.6.14_sass@1.43.4
|
||||
vite: 2.6.14_sass@1.43.5
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
dev: true
|
||||
@ -5283,10 +5342,10 @@ packages:
|
||||
dependencies:
|
||||
'@vue/compiler-sfc': 3.2.22
|
||||
magic-string: 0.25.7
|
||||
vite: 2.6.14_sass@1.43.4
|
||||
vite: 2.6.14_sass@1.43.5
|
||||
dev: true
|
||||
|
||||
/vite/2.6.14_sass@1.43.4:
|
||||
/vite/2.6.14_sass@1.43.5:
|
||||
resolution: {integrity: sha512-2HA9xGyi+EhY2MXo0+A2dRsqsAG3eFNEVIo12olkWhOmc8LfiM+eMdrXf+Ruje9gdXgvSqjLI9freec1RUM5EA==, tarball: vite/download/vite-2.6.14.tgz}
|
||||
engines: {node: '>=12.2.0'}
|
||||
hasBin: true
|
||||
@ -5306,7 +5365,7 @@ packages:
|
||||
postcss: 8.3.9
|
||||
resolve: 1.20.0
|
||||
rollup: 2.58.0
|
||||
sass: 1.43.4
|
||||
sass: 1.43.5
|
||||
optionalDependencies:
|
||||
fsevents: 2.3.2
|
||||
dev: true
|
||||
@ -5326,14 +5385,14 @@ packages:
|
||||
vue: 3.2.22
|
||||
dev: false
|
||||
|
||||
/vue-eslint-parser/8.0.1_eslint@8.2.0:
|
||||
/vue-eslint-parser/8.0.1_eslint@8.3.0:
|
||||
resolution: {integrity: sha1-JeCLIKQUVRUx8+GfmZkC4ez0XxM=, tarball: vue-eslint-parser/download/vue-eslint-parser-8.0.1.tgz}
|
||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||
peerDependencies:
|
||||
eslint: '>=6.0.0'
|
||||
dependencies:
|
||||
debug: 4.3.2
|
||||
eslint: 8.2.0
|
||||
eslint: 8.3.0
|
||||
eslint-scope: 6.0.0
|
||||
eslint-visitor-keys: 3.0.0
|
||||
espree: 9.0.0
|
||||
|
1
src/assets/icons/sidebar-cooperation.svg
Normal file
1
src/assets/icons/sidebar-cooperation.svg
Normal file
@ -0,0 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1637725213098" class="icon" viewBox="0 0 1190 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6344" xmlns:xlink="http://www.w3.org/1999/xlink" width="232.421875" height="200"><defs><style type="text/css"></style></defs><path d="M610.532836 122.802429a890.75965 890.75965 0 0 1 58.207096-71.582466 140.854899 140.854899 0 0 1 212.380326 0q132.527377 132.014037 263.628809 265.454019a143.250487 143.250487 0 0 1 1.083719 209.243246q-223.759372 227.666462-449.97137 452.880299a140.484153 140.484153 0 0 1-205.592826-0.570378q-223.959004-222.618615-444.895003-448.117641a142.594552 142.594552 0 0 1 1.140756-209.271765q135.179636-139.086726 273.296719-275.178967a142.594552 142.594552 0 0 1 210.697711 2.452626c22.472901 22.415864 41.523534 48.311034 62.114187 72.609146z m-66.905364 55.811507c-28.975213-24.668858-53.415919-45.116916-77.428842-66.049796a57.037821 57.037821 0 0 0-85.300062 1.283351q-133.896285 133.069236-266.052915 267.849607c-30.714867 31.370802-29.716705 57.037821 0.427783 90.148276 13.09018 14.259455 27.264078 27.720381 40.953156 41.552053l384.634545 387.144209c30.971537 31.114131 59.889712 36.190497 87.610093 15.999109 15.599844-11.407564 30.714867-23.414026 46.058041-35.163816l1.226313-17.111347c-25.153679-21.332145-51.334039-41.466496-75.11881-64.310143-28.148165-27.150003-29.631148-49.48031-8.555673-71.297276s44.831727-20.619172 71.297276 6.416755c23.071799 23.642177 43.491338 49.879574 70.213557 80.908149l51.733304-57.57968c-28.946694-26.579625-57.037821-49.822537-82.105943-76.088454s-19.963237-61.971592 12.662396-72.181362a69.614661 69.614661 0 0 1 54.014817 13.033142 770.980226 770.980226 0 0 1 72.666183 69.928369l95.167605-93.741659-234.79619-236.421768c-8.555673 7.985295-20.761767 19.706567-33.196012 31.370801a179.269871 179.269871 0 0 1-221.078594 18.195065c-55.982621-37.502367-60.488609-79.197014-13.118699-126.994708 32.768228-33.053417 66.22091-65.593494 108.172227-106.860358z m-32.19785 164.325963a93.028686 93.028686 0 0 0 101.498802-21.103994c16.540968-17.368016 33.623795-34.222693 50.79218-51.04885 34.907146-34.222693 54.18593-34.222693 89.406784 1.112238q115.130842 115.301955 229.776862 231.003175c8.555673 8.698268 17.738762 16.911714 34.678995 33.024898 19.36434-23.014761 36.190497-44.575057 54.69927-64.538295 35.620119-38.47201 36.019384-62.000111-1.511502-99.9873q-121.832786-123.201693-244.178911-245.833008c-39.669804-39.755361-64.081992-39.755361-104.151062 0.285189q-94.625745 94.540188-188.538517 189.850387c-6.787501 6.730463-12.405726 14.858352-22.472901 27.121484z" p-id="6345"></path></svg>
|
After Width: | Height: | Size: 2.7 KiB |
@ -67,6 +67,7 @@ import PermissionExample from './modules/permission.example'
|
||||
import MockExample from './modules/mock.example'
|
||||
import ExternalLinkExample from './modules/external.link.example'
|
||||
import VideosExample from './modules/videos.example'
|
||||
import CooperationExample from './modules/cooperation.example'
|
||||
|
||||
// 动态路由(异步路由、导航栏路由)
|
||||
const asyncRoutes = [
|
||||
@ -94,6 +95,15 @@ const asyncRoutes = [
|
||||
children: [
|
||||
...VideosExample
|
||||
]
|
||||
},
|
||||
{
|
||||
meta: {
|
||||
title: '战略合作',
|
||||
icon: 'sidebar-cooperation'
|
||||
},
|
||||
children: [
|
||||
...CooperationExample
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
@ -158,7 +168,9 @@ router.beforeEach(async(to, from, next) => {
|
||||
accessRoutes.push(lastRoute)
|
||||
let removeRoutes = []
|
||||
accessRoutes.forEach(route => {
|
||||
removeRoutes.push(router.addRoute(route))
|
||||
if (!/^(https?:|mailto:|tel:)/.test(route.path)) {
|
||||
removeRoutes.push(router.addRoute(route))
|
||||
}
|
||||
})
|
||||
// 记录的 accessRoutes 路由数据,在登出时会使用到,不使用 router.removeRoute 是考虑配置的路由可能不一定有设置 name ,则通过调用 router.addRoute() 返回的回调进行删除
|
||||
store.commit('menu/setCurrentRemoveRoutes', removeRoutes)
|
||||
|
8
src/router/modules/cooperation.example.js
Normal file
8
src/router/modules/cooperation.example.js
Normal file
@ -0,0 +1,8 @@
|
||||
export default [
|
||||
{
|
||||
path: 'https://www.vform666.com',
|
||||
meta: {
|
||||
title: 'VForm 低代码表单'
|
||||
}
|
||||
}
|
||||
]
|
@ -252,7 +252,7 @@ const mutations = {
|
||||
let defaultOpenedPaths = []
|
||||
routes.map(item => {
|
||||
item.meta.defaultOpened && defaultOpenedPaths.push(item.path)
|
||||
item.children.map(child => {
|
||||
item.children && item.children.map(child => {
|
||||
child.meta.defaultOpened && defaultOpenedPaths.push(path.resolve(item.path, child.path))
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user