提交 05b60dd2 authored 作者: 王鹏飞's avatar 王鹏飞

chore(deps): bump deps

上级 93cc4e52
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -14,31 +14,30 @@
"cert": "node ./cert.js"
},
"dependencies": {
"axios": "^1.1.3",
"axios": "^1.2.1",
"blueimp-md5": "^2.19.0",
"element-plus": "^2.2.19",
"pinia": "^2.0.23",
"element-plus": "^2.2.26",
"pinia": "^2.0.27",
"qs": "^6.11.0",
"vue": "^3.2.41",
"vue": "^3.2.45",
"vue-router": "^4.1.6"
},
"devDependencies": {
"@rushstack/eslint-patch": "^1.2.0",
"@types/blueimp-md5": "^2.18.0",
"@types/node": "^18.11.8",
"@types/node": "^18.11.12",
"@types/qs": "^6.9.7",
"@vitejs/plugin-vue": "^3.2.0",
"@vue/eslint-config-typescript": "^11.0.2",
"@vue/tsconfig": "^0.1.3",
"ali-oss": "^6.17.1",
"chalk": "^5.1.2",
"eslint": "^8.26.0",
"eslint-plugin-vue": "^9.7.0",
"npm-run-all": "^4.1.5",
"sass": "^1.55.0",
"typescript": "~4.8.4",
"unplugin-auto-import": "^0.11.4",
"vite": "^3.2.2",
"vue-tsc": "^1.0.9"
"chalk": "^5.2.0",
"eslint": "^8.29.0",
"eslint-plugin-vue": "^9.8.0",
"sass": "^1.56.2",
"typescript": "~4.9.4",
"unplugin-auto-import": "^0.12.0",
"vite": "^3.2.5",
"vue-tsc": "^1.0.12"
}
}
import type { Router, RouteRecordRaw } from 'vue-router'
export default function ({ router }: { router: Router }) {
const modules: Array<{ routes: Array<RouteRecordRaw> }> = Object.values(import.meta.globEager('./**/index.ts'))
const modules: Array<{ routes: Array<RouteRecordRaw> }> = Object.values(
import.meta.glob('./**/index.ts', { eager: true })
)
modules.forEach(({ routes = [] }) => {
// 注册路由
routes.forEach(route => {
......
......@@ -26,7 +26,6 @@ export default defineConfig(({ mode }) => ({
proxy: {
'/api/zws': {
target: 'http://localhost-new-zws-backend.ezijing.com',
// target: 'http://localhost-activity-backend.ezijing.com',
changeOrigin: true,
rewrite: path => path.replace(/^\/api\/zws/, '')
},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论