From 994e918f42faae6a463782d31dbda452c9e07906 Mon Sep 17 00:00:00 2001 From: hooray <304327508@qq.com> Date: Tue, 30 Nov 2021 10:31:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 12 +- pnpm-lock.yaml | 196 +++++++++++++------------- src/assets/icons/sidebar-ecology.svg | 1 + src/router/index.js | 10 ++ src/router/modules/ecology.example.js | 14 ++ 5 files changed, 129 insertions(+), 104 deletions(-) create mode 100644 src/assets/icons/sidebar-ecology.svg create mode 100644 src/router/modules/ecology.example.js diff --git a/package.json b/package.json index 3ab03821..e7f5e611 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "@tinymce/tinymce-vue": "^4.0.5", "axios": "^0.24.0", "dayjs": "^1.10.7", - "element-plus": "^1.2.0-beta.3", + "element-plus": "^1.2.0-beta.4", "hotkeys-js": "^3.8.7", "js-cookie": "^3.0.1", "mavon-editor": "^3.0.0-beta", @@ -33,13 +33,13 @@ "qs": "^6.10.1", "screenfull": "^6.0.0", "tinymce": "^5.10.2", - "vue": "^3.2.22", + "vue": "^3.2.23", "vue-router": "^4.0.12", "vuex": "^4.0.2" }, "devDependencies": { - "@vitejs/plugin-vue": "^1.10.0", - "@vue/compiler-sfc": "^3.2.22", + "@vitejs/plugin-vue": "^1.10.1", + "@vue/compiler-sfc": "^3.2.23", "eslint": "^8.3.0", "eslint-plugin-vue": "^8.1.1", "http-server": "^14.0.0", @@ -53,11 +53,11 @@ "stylelint-config-html": "^1.0.0", "stylelint-config-recommended": "^6.0.0", "stylelint-config-recommended-scss": "^5.0.2", - "stylelint-config-recommended-vue": "^1.0.0", + "stylelint-config-recommended-vue": "^1.1.0", "stylelint-config-standard": "^24.0.0", "stylelint-scss": "^4.0.0", "svgo": "^2.8.0", - "unplugin-auto-import": "^0.4.18", + "unplugin-auto-import": "^0.5.1", "unplugin-vue-components": "^0.17.2", "vite": "^2.6.14", "vite-plugin-banner": "^0.1.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index df5b4695..56175835 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -3,11 +3,11 @@ lockfileVersion: 5.3 specifiers: '@element-plus/icons': ^0.0.11 '@tinymce/tinymce-vue': ^4.0.5 - '@vitejs/plugin-vue': ^1.10.0 - '@vue/compiler-sfc': ^3.2.22 + '@vitejs/plugin-vue': ^1.10.1 + '@vue/compiler-sfc': ^3.2.23 axios: ^0.24.0 dayjs: ^1.10.7 - element-plus: ^1.2.0-beta.3 + element-plus: ^1.2.0-beta.4 eslint: ^8.3.0 eslint-plugin-vue: ^8.1.1 hotkeys-js: ^3.8.7 @@ -32,12 +32,12 @@ specifiers: stylelint-config-html: ^1.0.0 stylelint-config-recommended: ^6.0.0 stylelint-config-recommended-scss: ^5.0.2 - stylelint-config-recommended-vue: ^1.0.0 + stylelint-config-recommended-vue: ^1.1.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.18 + unplugin-auto-import: ^0.5.1 unplugin-vue-components: ^0.17.2 vite: ^2.6.14 vite-plugin-banner: ^0.1.3 @@ -48,17 +48,17 @@ specifiers: vite-plugin-spritesmith: ^0.1.1 vite-plugin-svg-icons: ^1.0.5 vite-plugin-vue-setup-extend: ^0.1.0 - vue: ^3.2.22 + vue: ^3.2.23 vue-eslint-parser: ^8.0.1 vue-router: ^4.0.12 vuex: ^4.0.2 dependencies: '@element-plus/icons': 0.0.11 - '@tinymce/tinymce-vue': 4.0.5_vue@3.2.22 + '@tinymce/tinymce-vue': 4.0.5_vue@3.2.23 axios: 0.24.0 dayjs: 1.10.7 - element-plus: 1.2.0-beta.3_vue@3.2.22 + element-plus: 1.2.0-beta.4_vue@3.2.23 hotkeys-js: 3.8.7 js-cookie: 3.0.1 mavon-editor: 3.0.0-beta @@ -71,13 +71,13 @@ dependencies: qs: 6.10.1 screenfull: 6.0.0 tinymce: 5.10.2 - vue: 3.2.22 - vue-router: 4.0.12_vue@3.2.22 - vuex: 4.0.2_vue@3.2.22 + vue: 3.2.23 + vue-router: 4.0.12_vue@3.2.23 + vuex: 4.0.2_vue@3.2.23 devDependencies: - '@vitejs/plugin-vue': 1.10.0_vite@2.6.14 - '@vue/compiler-sfc': 3.2.22 + '@vitejs/plugin-vue': 1.10.1_vite@2.6.14 + '@vue/compiler-sfc': 3.2.23 eslint: 8.3.0 eslint-plugin-vue: 8.1.1_eslint@8.3.0 http-server: 14.0.0 @@ -91,12 +91,12 @@ devDependencies: stylelint-config-html: 1.0.0_c1fe332c2f0bd1acbb28be685cc2d480 stylelint-config-recommended: 6.0.0_stylelint@14.1.0 stylelint-config-recommended-scss: 5.0.2_stylelint@14.1.0 - stylelint-config-recommended-vue: 1.0.0_c1fe332c2f0bd1acbb28be685cc2d480 + stylelint-config-recommended-vue: 1.1.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.18_vite@2.6.14 - unplugin-vue-components: 0.17.2_vite@2.6.14+vue@3.2.22 + unplugin-auto-import: 0.5.1_vite@2.6.14 + unplugin-vue-components: 0.17.2_vite@2.6.14+vue@3.2.23 vite: 2.6.14_sass@1.43.5 vite-plugin-banner: 0.1.3 vite-plugin-compression: 0.3.6_vite@2.6.14 @@ -244,13 +244,13 @@ packages: picomatch: 2.3.0 dev: true - /@tinymce/tinymce-vue/4.0.5_vue@3.2.22: + /@tinymce/tinymce-vue/4.0.5_vue@3.2.23: 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 + vue: 3.2.23 dev: false /@trysound/sax/0.2.0: @@ -344,8 +344,8 @@ packages: '@types/node': 16.11.4 dev: true - /@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'} + /@vitejs/plugin-vue/1.10.1_vite@2.6.14: + resolution: {integrity: sha512-oL76QETMSpVE9jIScirGB2bYJEVU/+r+g+K7oG+sXPs9TZljqveoVRsmLyXlMZTjpQkLL8gz527cW80NMGVKJg==, tarball: '@vitejs/plugin-vue/download/@vitejs/plugin-vue-1.10.1.tgz'} engines: {node: '>=12.0.0'} peerDependencies: vite: ^2.5.10 @@ -353,89 +353,89 @@ packages: vite: 2.6.14_sass@1.43.5 dev: true - /@vue/compiler-core/3.2.22: - resolution: {integrity: sha512-uAkovrVeTcjzpiM4ECmVaMrv/bjdgAaLzvjcGqQPBEyUrcqsCgccT9fHJ/+hWVGhyMahmBwLqcn4guULNx7sdw==, tarball: '@vue/compiler-core/download/@vue/compiler-core-3.2.22.tgz'} + /@vue/compiler-core/3.2.23: + resolution: {integrity: sha512-4ZhiI/orx+7EJ1B+0zjgvXMV2uRN+XBfG06UN2sJfND9rH5gtEQT3QmO4erum1o6Irl7y754W8/KSaDJh4EUQg==, tarball: '@vue/compiler-core/download/@vue/compiler-core-3.2.23.tgz'} dependencies: '@babel/parser': 7.15.8 - '@vue/shared': 3.2.22 + '@vue/shared': 3.2.23 estree-walker: 2.0.2 source-map: 0.6.1 - /@vue/compiler-dom/3.2.22: - resolution: {integrity: sha512-VZdsw/VuO1ODs8K7NQwnMQzKITDkIFlYYC03SVnunuf6eNRxBPEonSyqbWNoo6qNaHAEBTG6VVcZC5xC9bAx1g==, tarball: '@vue/compiler-dom/download/@vue/compiler-dom-3.2.22.tgz'} + /@vue/compiler-dom/3.2.23: + resolution: {integrity: sha512-X2Nw8QFc5lgoK3kio5ktM95nqmLUH+q+N/PbV4kCHzF1avqv/EGLnAhaaF0Iu4bewNvHJAAhhwPZFeoV/22nbw==, tarball: '@vue/compiler-dom/download/@vue/compiler-dom-3.2.23.tgz'} dependencies: - '@vue/compiler-core': 3.2.22 - '@vue/shared': 3.2.22 + '@vue/compiler-core': 3.2.23 + '@vue/shared': 3.2.23 - /@vue/compiler-sfc/3.2.22: - resolution: {integrity: sha512-tWRQ5ge1tsTDhUwHgueicKJ8rYm6WUVAPTaIpFW3GSwZKcOEJ2rXdfkHFShNVGupeRALz2ET2H84OL0GeRxY0A==, tarball: '@vue/compiler-sfc/download/@vue/compiler-sfc-3.2.22.tgz'} + /@vue/compiler-sfc/3.2.23: + resolution: {integrity: sha512-Aw+pb50Q5zTjyvWod8mNKmYZDRGHJBptmNNWE+84ZxrzEztPgMz8cNYIzWGbwcFVkmJlhvioAMvKnB+LM/sjSA==, tarball: '@vue/compiler-sfc/download/@vue/compiler-sfc-3.2.23.tgz'} dependencies: '@babel/parser': 7.15.8 - '@vue/compiler-core': 3.2.22 - '@vue/compiler-dom': 3.2.22 - '@vue/compiler-ssr': 3.2.22 - '@vue/ref-transform': 3.2.22 - '@vue/shared': 3.2.22 + '@vue/compiler-core': 3.2.23 + '@vue/compiler-dom': 3.2.23 + '@vue/compiler-ssr': 3.2.23 + '@vue/ref-transform': 3.2.23 + '@vue/shared': 3.2.23 estree-walker: 2.0.2 magic-string: 0.25.7 postcss: 8.3.9 source-map: 0.6.1 - /@vue/compiler-ssr/3.2.22: - resolution: {integrity: sha512-Cl6aoLJtXzzBkk1sKod8S0WBJLts3+ugVC91d22gGpbkw/64WnF12tOZi7Rg54PPLi1NovqyNWPsLH/SAFcu+w==, tarball: '@vue/compiler-ssr/download/@vue/compiler-ssr-3.2.22.tgz'} + /@vue/compiler-ssr/3.2.23: + resolution: {integrity: sha512-Bqzn4jFyXPK1Ehqiq7e/czS8n62gtYF1Zfeu0DrR5uv+SBllh7LIvZjZU6+c8qbocAd3/T3I3gn2cZGmnDb6zg==, tarball: '@vue/compiler-ssr/download/@vue/compiler-ssr-3.2.23.tgz'} dependencies: - '@vue/compiler-dom': 3.2.22 - '@vue/shared': 3.2.22 + '@vue/compiler-dom': 3.2.23 + '@vue/shared': 3.2.23 /@vue/devtools-api/6.0.0-beta.19: resolution: {integrity: sha1-+OiAWdqkJFFZkkJqDH6lzeB+mb8=, tarball: '@vue/devtools-api/download/@vue/devtools-api-6.0.0-beta.19.tgz'} dev: false - /@vue/reactivity/3.2.22: - resolution: {integrity: sha512-xNkLAItjI0xB+lFeDgKCrSItmrHTaAzSnt8LmdSCPQnDyarmzbi/u4ESQnckWvlL7lSRKiEaOvblaNyqAa7OnQ==, tarball: '@vue/reactivity/download/@vue/reactivity-3.2.22.tgz'} + /@vue/reactivity/3.2.23: + resolution: {integrity: sha512-8RGVr/5Kpgb/EkCjgHXqttgA5IMc6n0lIXFY4TVbMkzdXrvaIhzBd7Te44oIDsTSYVKZLpfHd6/wEnuDqE8vFw==, tarball: '@vue/reactivity/download/@vue/reactivity-3.2.23.tgz'} dependencies: - '@vue/shared': 3.2.22 + '@vue/shared': 3.2.23 dev: false - /@vue/ref-transform/3.2.22: - resolution: {integrity: sha512-qalVWbq5xWWxLZ0L9OroBg/JZhzavQuCcDXblfErxyDEH6Xc5gIJ4feo1SVCICFzhAUgLgQTdSFLpgjBawbFpw==, tarball: '@vue/ref-transform/download/@vue/ref-transform-3.2.22.tgz'} + /@vue/ref-transform/3.2.23: + resolution: {integrity: sha512-gW0GD2PSAs/th7mC7tPB/UwpIQxclbApVtsDtscDmOJXb2+cdu60ny+SuHNgfrlUT/JqWKQHq7jFKO4woxLNaA==, tarball: '@vue/ref-transform/download/@vue/ref-transform-3.2.23.tgz'} dependencies: '@babel/parser': 7.15.8 - '@vue/compiler-core': 3.2.22 - '@vue/shared': 3.2.22 + '@vue/compiler-core': 3.2.23 + '@vue/shared': 3.2.23 estree-walker: 2.0.2 magic-string: 0.25.7 - /@vue/runtime-core/3.2.22: - resolution: {integrity: sha512-e7WOC55wmHPvmoVUk9VBe/Z9k5bJfWJfVIlkUkiADJn0bOgQD29oh/GS14Kb3aEJXIHLI17Em6+HxNut1sIh7Q==, tarball: '@vue/runtime-core/download/@vue/runtime-core-3.2.22.tgz'} + /@vue/runtime-core/3.2.23: + resolution: {integrity: sha512-wSI5lmY2kCGLf89iiygqxVh6/5bsawz78Me9n1x4U2bHnN0yf3PWyuhN0WgIE8VfEaF7e75E333uboNEIFjgkg==, tarball: '@vue/runtime-core/download/@vue/runtime-core-3.2.23.tgz'} dependencies: - '@vue/reactivity': 3.2.22 - '@vue/shared': 3.2.22 + '@vue/reactivity': 3.2.23 + '@vue/shared': 3.2.23 dev: false - /@vue/runtime-dom/3.2.22: - resolution: {integrity: sha512-w7VHYJoliLRTLc5beN77wxuOjla4v9wr2FF22xpZFYBmH4U1V7HkYhoHc1BTuNghI15CXT1tNIMhibI1nrQgdw==, tarball: '@vue/runtime-dom/download/@vue/runtime-dom-3.2.22.tgz'} + /@vue/runtime-dom/3.2.23: + resolution: {integrity: sha512-z6lp0888NkLmxD9j2sGoll8Kb7J743s8s6w7GbiyUc4WZwm0KJ35B4qTFDMoIU0G7CatS6Z+yRTpPHc6srtByg==, tarball: '@vue/runtime-dom/download/@vue/runtime-dom-3.2.23.tgz'} dependencies: - '@vue/runtime-core': 3.2.22 - '@vue/shared': 3.2.22 - csstype: 2.6.18 + '@vue/runtime-core': 3.2.23 + '@vue/shared': 3.2.23 + csstype: 2.6.19 dev: false - /@vue/server-renderer/3.2.22_vue@3.2.22: - resolution: {integrity: sha512-jCwbQgKPXiXoH9VS9F7K+gyEvEMrjutannwEZD1R8fQ9szmOTqC+RRbIY3Uf2ibQjZtZ8DV9a4FjxICvd9zZlQ==, tarball: '@vue/server-renderer/download/@vue/server-renderer-3.2.22.tgz'} + /@vue/server-renderer/3.2.23_vue@3.2.23: + resolution: {integrity: sha512-mgQ2VAE5WjeZELJKNbwE69uiBNpN+3LyL0ZDki1bJWVwHD2fhPfx7pwyYuiucE81xz2LxVsyGxhKKUL997g8vw==, tarball: '@vue/server-renderer/download/@vue/server-renderer-3.2.23.tgz'} peerDependencies: - vue: 3.2.22 + vue: 3.2.23 dependencies: - '@vue/compiler-ssr': 3.2.22 - '@vue/shared': 3.2.22 - vue: 3.2.22 + '@vue/compiler-ssr': 3.2.23 + '@vue/shared': 3.2.23 + vue: 3.2.23 dev: false - /@vue/shared/3.2.22: - resolution: {integrity: sha512-qWVav014mpjEtbWbEgl0q9pEyrrIySKum8UVYjwhC6njrKzknLZPvfuYdQyVbApsqr94tf/3dP4pCuZmmjdCWQ==, tarball: '@vue/shared/download/@vue/shared-3.2.22.tgz'} + /@vue/shared/3.2.23: + resolution: {integrity: sha512-U+/Jefa0QfXUF2qVy9Dqlrb6HKJSr9/wJcM66wXmWcTOoqg7hOWzF4qruDle51pyF4x3wMn6TSH54UdjKjCKMA==, tarball: '@vue/shared/download/@vue/shared-3.2.23.tgz'} - /@vueuse/core/6.7.5_vue@3.2.22: - resolution: {integrity: sha1-w9jtushAiwe8KCUckop6SymigyU=, tarball: '@vueuse/core/download/@vueuse/core-6.7.5.tgz'} + /@vueuse/core/7.1.2_vue@3.2.23: + resolution: {integrity: sha512-SLoOPfhZdNRNUkZfx+wrHj6WycWdSw2RmNS8E4ngQ2kmBoJjRarGy51/GkGdjqHQqmhuwuFoNO2WaU0yBn3ffg==, tarball: '@vueuse/core/download/@vueuse/core-7.1.2.tgz'} peerDependencies: '@vue/composition-api': ^1.1.0 vue: ^2.6.0 || ^3.2.0 @@ -445,13 +445,13 @@ packages: vue: optional: true dependencies: - '@vueuse/shared': 6.7.5_vue@3.2.22 - vue: 3.2.22 - vue-demi: 0.12.1_vue@3.2.22 + '@vueuse/shared': 7.1.2_vue@3.2.23 + vue: 3.2.23 + vue-demi: 0.12.1_vue@3.2.23 dev: false - /@vueuse/shared/6.7.5_vue@3.2.22: - resolution: {integrity: sha1-CmBMBkc9tUReRt4Ysde7bZraS+k=, tarball: '@vueuse/shared/download/@vueuse/shared-6.7.5.tgz'} + /@vueuse/shared/7.1.2_vue@3.2.23: + resolution: {integrity: sha512-AjYh4y9S5FMOoHDsysqcXY/1mpqNTrnWUD50yaaiyf+5kGWQVIpAkkjKZlYSC/NHKxxCRn0cLR4nWMzceUWewQ==, tarball: '@vueuse/shared/download/@vueuse/shared-7.1.2.tgz'} peerDependencies: '@vue/composition-api': ^1.1.0 vue: ^2.6.0 || ^3.2.0 @@ -461,8 +461,8 @@ packages: vue: optional: true dependencies: - vue: 3.2.22 - vue-demi: 0.12.1_vue@3.2.22 + vue: 3.2.23 + vue-demi: 0.12.1_vue@3.2.23 dev: false /acorn-jsx/5.3.2_acorn@8.6.0: @@ -1158,8 +1158,8 @@ packages: css-tree: 1.1.3 dev: true - /csstype/2.6.18: - resolution: {integrity: sha1-mAqLUwhfNK8xNBCvBk8r0kF4Qhg=, tarball: csstype/download/csstype-2.6.18.tgz} + /csstype/2.6.19: + resolution: {integrity: sha512-ZVxXaNy28/k3kJg0Fou5MiYpp88j7H9hLZp8PDC3jV0WFjfH5E9xHb56L0W59cPbKbcHXeP4qyT8PrHp8t6LcQ==, tarball: csstype/download/csstype-2.6.19.tgz?cache=0&sync_timestamp=1637224867418&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fcsstype%2Fdownload%2Fcsstype-2.6.19.tgz} dev: false /cwise-compiler/1.1.3: @@ -1405,20 +1405,20 @@ packages: jake: 10.8.2 dev: true - /element-plus/1.2.0-beta.3_vue@3.2.22: - resolution: {integrity: sha512-vvUxR3uL2k9K+WCWz/98hq4uPQ6jvfGf0hfzWvao7pySJkNQq9DtRPC6/4/zUceA/J6Y2Yo3xSbR19JRCwurRw==, tarball: element-plus/download/element-plus-1.2.0-beta.3.tgz} + /element-plus/1.2.0-beta.4_vue@3.2.23: + resolution: {integrity: sha512-wYOwa/Zop5xMqhqkS7jOd32FF0Y2IpquIu8JLMbmvwlWvRUVetE5RO5lvxiF6etZgq8urRVttisXnOzJ9YOItQ==, tarball: element-plus/download/element-plus-1.2.0-beta.4.tgz} peerDependencies: vue: ^3.2.0 dependencies: '@element-plus/icons': 0.0.11 '@popperjs/core': 2.10.2 - '@vueuse/core': 6.7.5_vue@3.2.22 + '@vueuse/core': 7.1.2_vue@3.2.23 async-validator: 4.0.7 dayjs: 1.10.7 lodash: 4.17.21 memoize-one: 6.0.0 normalize-wheel-es: 1.1.1 - vue: 3.2.22 + vue: 3.2.23 transitivePeerDependencies: - '@vue/composition-api' dev: false @@ -4283,7 +4283,7 @@ packages: dev: true /semver/5.7.1: - resolution: {integrity: sha1-qVT5Ma66UI0we78Gnv8MAclhFvc=, tarball: semver/download/semver-5.7.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fsemver%2Fdownload%2Fsemver-5.7.1.tgz} + resolution: {integrity: sha1-qVT5Ma66UI0we78Gnv8MAclhFvc=, tarball: semver/download/semver-5.7.1.tgz} hasBin: true dev: true @@ -4669,8 +4669,8 @@ packages: - postcss dev: true - /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} + /stylelint-config-recommended-vue/1.1.0_c1fe332c2f0bd1acbb28be685cc2d480: + resolution: {integrity: sha512-6O9gHdZ5nmnpq+qJv19pLEcZTZ/BV7ZzBmtl0J/kx92tGwe4CRqoO//SswibLWQP/1VwOaTrjJxN497pNfw7VA==, tarball: stylelint-config-recommended-vue/download/stylelint-config-recommended-vue-1.1.0.tgz} engines: {node: ^12 || >=14} peerDependencies: postcss-html: ^1.0.0 @@ -5049,8 +5049,8 @@ packages: engines: {node: '>= 0.8'} dev: true - /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} + /unplugin-auto-import/0.5.1_vite@2.6.14: + resolution: {integrity: sha512-Q3CvNbCB7nLbu+JdrF6jYs0Nx7kHmV2KzDcZHzTrdri3EhU1lUOgto+ce+Jw01Ds7RxBi9lwWwF3QoFwFPul1A==, tarball: unplugin-auto-import/download/unplugin-auto-import-0.5.1.tgz} engines: {node: '>=14'} peerDependencies: '@vueuse/core': '*' @@ -5070,7 +5070,7 @@ packages: - webpack dev: true - /unplugin-vue-components/0.17.2_vite@2.6.14+vue@3.2.22: + /unplugin-vue-components/0.17.2_vite@2.6.14+vue@3.2.23: resolution: {integrity: sha1-235mn6w8w2uHugVvY+LqpHp/G5s=, tarball: unplugin-vue-components/download/unplugin-vue-components-0.17.2.tgz} engines: {node: '>=14'} peerDependencies: @@ -5093,7 +5093,7 @@ packages: minimatch: 3.0.4 resolve: 1.20.0 unplugin: 0.2.19_vite@2.6.14 - vue: 3.2.22 + vue: 3.2.23 transitivePeerDependencies: - rollup - supports-color @@ -5340,7 +5340,7 @@ packages: peerDependencies: vite: '>=2.0.0' dependencies: - '@vue/compiler-sfc': 3.2.22 + '@vue/compiler-sfc': 3.2.23 magic-string: 0.25.7 vite: 2.6.14_sass@1.43.5 dev: true @@ -5370,7 +5370,7 @@ packages: fsevents: 2.3.2 dev: true - /vue-demi/0.12.1_vue@3.2.22: + /vue-demi/0.12.1_vue@3.2.23: resolution: {integrity: sha1-9+GO++z/0RqwadFHLXoG4xm0F0w=, tarball: vue-demi/download/vue-demi-0.12.1.tgz} engines: {node: '>=12'} hasBin: true @@ -5382,7 +5382,7 @@ packages: '@vue/composition-api': optional: true dependencies: - vue: 3.2.22 + vue: 3.2.23 dev: false /vue-eslint-parser/8.0.1_eslint@8.3.0: @@ -5403,32 +5403,32 @@ packages: - supports-color dev: true - /vue-router/4.0.12_vue@3.2.22: + /vue-router/4.0.12_vue@3.2.23: resolution: {integrity: sha1-jceSzd9bsavMOQj5BkE23n4TxGA=, tarball: vue-router/download/vue-router-4.0.12.tgz} peerDependencies: vue: ^3.0.0 dependencies: '@vue/devtools-api': 6.0.0-beta.19 - vue: 3.2.22 + vue: 3.2.23 dev: false - /vue/3.2.22: - resolution: {integrity: sha512-KD5nZpXVZquOC6926Xnp3zOvswrUyO9Rya7ZUoxWFQEjFDW4iACtwzubRB4Um2Om9kj6CaJOqAVRDSFlqLpdgw==, tarball: vue/download/vue-3.2.22.tgz} + /vue/3.2.23: + resolution: {integrity: sha512-MGp9JZC37lzGhwSu6c1tQxrQbXbw7XKFqtYh7SFwNrNK899FPxGAHwSHMZijMChTSC3uZrD2BGO/3EHOgMJ0cw==, tarball: vue/download/vue-3.2.23.tgz} dependencies: - '@vue/compiler-dom': 3.2.22 - '@vue/compiler-sfc': 3.2.22 - '@vue/runtime-dom': 3.2.22 - '@vue/server-renderer': 3.2.22_vue@3.2.22 - '@vue/shared': 3.2.22 + '@vue/compiler-dom': 3.2.23 + '@vue/compiler-sfc': 3.2.23 + '@vue/runtime-dom': 3.2.23 + '@vue/server-renderer': 3.2.23_vue@3.2.23 + '@vue/shared': 3.2.23 dev: false - /vuex/4.0.2_vue@3.2.22: + /vuex/4.0.2_vue@3.2.23: resolution: {integrity: sha1-+Jbb1b8qDpY/AMZ+m2EN50nMrMk=, tarball: vuex/download/vuex-4.0.2.tgz} peerDependencies: vue: ^3.0.2 dependencies: '@vue/devtools-api': 6.0.0-beta.19 - vue: 3.2.22 + vue: 3.2.23 dev: false /wcwidth/1.0.1: diff --git a/src/assets/icons/sidebar-ecology.svg b/src/assets/icons/sidebar-ecology.svg new file mode 100644 index 00000000..ea392bc9 --- /dev/null +++ b/src/assets/icons/sidebar-ecology.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 4d69a392..8511b443 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -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 EcologyExample from './modules/ecology.example' import CooperationExample from './modules/cooperation.example' // 动态路由(异步路由、导航栏路由) @@ -96,6 +97,15 @@ const asyncRoutes = [ ...VideosExample ] }, + { + meta: { + title: '生态', + icon: 'sidebar-ecology' + }, + children: [ + ...EcologyExample + ] + }, { meta: { title: '战略合作', diff --git a/src/router/modules/ecology.example.js b/src/router/modules/ecology.example.js new file mode 100644 index 00000000..af2bf66f --- /dev/null +++ b/src/router/modules/ecology.example.js @@ -0,0 +1,14 @@ +export default [ + { + path: 'https://hooray.github.io/fantastic-template/', + meta: { + title: 'Fantastic-template 项目模板' + } + }, + { + path: 'https://hooray.github.io/one-step-admin/', + meta: { + title: 'One-step-admin 干啥都快人一步的中后台框架' + } + } +]