From 2a0fcf671373f9ef4704543bcffab7d2f3a9e01d Mon Sep 17 00:00:00 2001 From: JayChou <2064936853@qq.com> Date: Wed, 25 Sep 2024 17:27:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=94=A8=E6=88=B7=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=AA=E4=BA=BA=E4=BF=A1=E6=81=AF=20=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E8=B7=AF=E7=94=B1=E6=8B=A6=E6=88=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- pnpm-lock.yaml | 8 +- src/Layout/tabbar/index.vue | 8 +- src/api/race.ts | 23 ++++ src/permissions.ts | 24 +++- src/views/home/index.vue | 7 + src/views/raceInfo/index.vue | 13 +- src/views/userInfo/index.vue | 245 ++++++++++++++++++++++++++++++----- 8 files changed, 276 insertions(+), 54 deletions(-) diff --git a/package.json b/package.json index 9d8fc1d..f4d4f28 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "@element-plus/icons-vue": "^2.3.1", "axios": "^1.6.8", "echarts": "5.3.2", - "element-plus": "^2.6.2", + "element-plus": "^2.8.3", "pinia": "^2.1.7", "postcss-plugin-px2rem": "^0.8.1", "px2rem-loader": "^0.1.9", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9046d11..557beaa 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,8 +11,8 @@ dependencies: specifier: 5.3.2 version: 5.3.2 element-plus: - specifier: ^2.6.2 - version: 2.6.2(vue@3.4.21) + specifier: ^2.8.3 + version: 2.8.3(vue@3.4.21) pinia: specifier: ^2.1.7 version: 2.1.7(typescript@5.2.2)(vue@3.4.21) @@ -1984,8 +1984,8 @@ packages: resolution: {integrity: sha512-kMb204zvK3PsSlgvvwzI3wBIcAw15tRkYk+NQdsjdDtcQWTp2RABbMQ9rUBy8KNEOM+/E6ep+XC3AykiWZld4g==} dev: true - /element-plus@2.6.2(vue@3.4.21): - resolution: {integrity: sha512-WFMv1v83l437Xu+GeeM+ytxd9VUQpR4418BowvTVIPYItsoj6yK0ITIuSv19iCesF405FbAOaCIHXhJch0ilFA==} + /element-plus@2.8.3(vue@3.4.21): + resolution: {integrity: sha512-BXQOyDf0s7JHyNEV8iaO+iaOzTZPsBXVKMzMI967vLCodUBDLrtiY5vglAn1YEebQcUOEUMhGcttTpIvEkcBjQ==} peerDependencies: vue: ^3.2.0 dependencies: diff --git a/src/Layout/tabbar/index.vue b/src/Layout/tabbar/index.vue index 11167c9..978f492 100644 --- a/src/Layout/tabbar/index.vue +++ b/src/Layout/tabbar/index.vue @@ -28,7 +28,7 @@