From a772075200373aed024d3f5c97dbbd2eadd87ba6 Mon Sep 17 00:00:00 2001 From: h_mo <596417202@qq.com> Date: Sat, 15 Jun 2024 00:27:21 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BD=BF=E7=94=A8=E7=BB=84=E5=90=88?= =?UTF-8?q?=E5=BC=8F=20store?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 8 +-- src/pages/login/index.vue | 12 ++-- src/stores/modules/auth.ts | 111 +++++++++++++++++++++---------------- src/stores/modules/user.ts | 23 ++++++-- tsconfig.json | 3 +- 5 files changed, 91 insertions(+), 66 deletions(-) diff --git a/package.json b/package.json index b174697..186ea28 100644 --- a/package.json +++ b/package.json @@ -50,11 +50,11 @@ "@dcloudio/uni-mp-toutiao": "3.0.0-alpha-4010920240607001", "@dcloudio/uni-mp-weixin": "3.0.0-alpha-4010920240607001", "@dcloudio/uni-quickapp-webview": "3.0.0-alpha-4010920240607001", - "alova": "^2.21.2", + "alova": "^2.21.3", "crypto-js": "^4.2.0", "lodash-es": "^4.17.21", "pinia": "^2.1.7", - "vue": "^3.4.27" + "vue": "^3.4.29" }, "devDependencies": { "@antfu/eslint-config": "^2.21.1", @@ -69,7 +69,7 @@ "@types/node": "^20.14.2", "@unocss/eslint-plugin": "^0.61.0", "@vitejs/plugin-vue": "^5.0.5", - "@vue/runtime-core": "^3.4.27", + "@vue/runtime-core": "^3.4.29", "eslint": "^9.4.0", "eslint-plugin-format": "^0.1.1", "globals": "^15.4.0", @@ -85,7 +85,7 @@ "unocss": "^0.61.0", "unocss-preset-weapp": "^0.60.1", "unplugin-transform-class": "^0.5.3", - "vite": "^5.3.0", + "vite": "^5.3.1", "vite-plugin-restart": "^0.4.0" }, "simple-git-hooks": { diff --git a/src/pages/login/index.vue b/src/pages/login/index.vue index fb321f2..5b2c043 100644 --- a/src/pages/login/index.vue +++ b/src/pages/login/index.vue @@ -1,11 +1,9 @@