From 40ecc320a59fe373b36d9af8728cfa921a8fc533 Mon Sep 17 00:00:00 2001 From: Soybean Date: Mon, 22 Aug 2022 12:01:57 +0800 Subject: [PATCH] =?UTF-8?q?build(projects):=20=E6=9B=B4=E6=96=B0=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E3=80=81=E8=B0=83=E6=95=B4=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- mock/model/route.ts | 20 -------------------- package.json | 20 ++++++++++---------- src/router/modules/document.ts | 10 ---------- 4 files changed, 11 insertions(+), 41 deletions(-) diff --git a/.env b/.env index b120f26de..9daec0b65 100644 --- a/.env +++ b/.env @@ -7,7 +7,7 @@ VITE_APP_TITLE=Soybean管理系统 VITE_APP_DESC=SoybeanAdmin是一个中后台管理系统模版 # 权限路由模式: static | dynamic -VITE_AUTH_ROUTE_MODE=static +VITE_AUTH_ROUTE_MODE=dynamic # 路由首页(根路由重定向), 用于static模式的权限路由,dynamic模式取决于后端返回的路由首页 VITE_ROUTE_HOME_PATH=/dashboard/analysis diff --git a/mock/model/route.ts b/mock/model/route.ts index 3df0d50ac..f80378fdb 100644 --- a/mock/model/route.ts +++ b/mock/model/route.ts @@ -47,16 +47,6 @@ export const routeModel: Record = { icon: 'mdi:vuejs' } }, - { - name: 'document_vue-new', - path: '/document/vue-new', - component: 'self', - meta: { - title: 'vue文档(新版)', - requiresAuth: true, - icon: 'mdi:vuejs' - } - }, { name: 'document_vite', path: '/document/vite', @@ -548,16 +538,6 @@ export const routeModel: Record = { icon: 'mdi:vuejs' } }, - { - name: 'document_vue-new', - path: '/document/vue-new', - component: 'self', - meta: { - title: 'vue文档(新版)', - requiresAuth: true, - icon: 'mdi:vuejs' - } - }, { name: 'document_vite', path: '/document/vite', diff --git a/package.json b/package.json index c4b2ef3e8..4be14cb1b 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ }, "dependencies": { "@antv/data-set": "^0.11.8", - "@antv/g2": "^4.2.6", + "@antv/g2": "^4.2.7", "@better-scroll/core": "^2.4.2", "@soybeanjs/vue-admin-layout": "^1.1.1", "@soybeanjs/vue-admin-tab": "^1.0.5", @@ -65,8 +65,8 @@ "echarts": "^5.3.3", "form-data": "^4.0.0", "lodash-es": "^4.17.21", - "naive-ui": "^2.32.1", - "pinia": "^2.0.18", + "naive-ui": "^2.32.2", + "pinia": "^2.0.20", "print-js": "^1.6.0", "qs": "^6.11.0", "swiper": "^8.3.2", @@ -81,13 +81,13 @@ "@amap/amap-jsapi-types": "^0.0.8", "@commitlint/cli": "^17.0.3", "@commitlint/config-conventional": "^17.0.3", - "@iconify/json": "^2.1.92", + "@iconify/json": "^2.1.95", "@iconify/vue": "^3.2.1", "@milahu/patch-package": "^6.4.14", "@soybeanjs/eslint-config": "0.2.10", "@types/bmapgl": "^0.0.5", "@types/crypto-js": "^4.1.1", - "@types/node": "^18.7.3", + "@types/node": "^18.7.9", "@types/qs": "^6.9.7", "@types/ua-parser-js": "^0.7.36", "@vitejs/plugin-vue": "^3.0.3", @@ -101,15 +101,15 @@ "lint-staged": "^13.0.3", "mockjs": "^1.1.0", "postinstall-postinstall": "^2.1.0", - "rollup-plugin-visualizer": "^5.7.1", - "sass": "^1.54.4", + "rollup-plugin-visualizer": "^5.8.0", + "sass": "^1.54.5", "standard-version": "^9.5.0", "typescript": "^4.7.4", - "unocss": "^0.45.6", + "unocss": "^0.45.9", "unplugin-icons": "^0.14.8", "unplugin-vue-components": "0.22.4", - "unplugin-vue-define-options": "^0.9.2", - "vite": "^3.0.7", + "unplugin-vue-define-options": "^0.10.0", + "vite": "^3.0.9", "vite-plugin-compression": "^0.5.1", "vite-plugin-html": "^3.2.0", "vite-plugin-mock": "^2.9.6", diff --git a/src/router/modules/document.ts b/src/router/modules/document.ts index 64aaf1814..ecabbbffb 100644 --- a/src/router/modules/document.ts +++ b/src/router/modules/document.ts @@ -13,16 +13,6 @@ const document: AuthRoute.Route = { icon: 'mdi:vuejs' } }, - { - name: 'document_vue-new', - path: '/document/vue-new', - component: 'self', - meta: { - title: 'vue文档(新版)', - requiresAuth: true, - icon: 'mdi:vuejs' - } - }, { name: 'document_vite', path: '/document/vite',