Skip to content

Commit

Permalink
build(projects): 更新依赖、调整页面
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Aug 22, 2022
1 parent 695ec7e commit 40ecc32
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -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
20 changes: 0 additions & 20 deletions mock/model/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,6 @@ export const routeModel: Record<Auth.RoleType, 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',
Expand Down Expand Up @@ -548,16 +538,6 @@ export const routeModel: Record<Auth.RoleType, 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',
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand Down
10 changes: 0 additions & 10 deletions src/router/modules/document.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 40ecc32

Please sign in to comment.