From 4735da736292814e4f1649cd7cc538d8c2f6cd44 Mon Sep 17 00:00:00 2001 From: qsh <> Date: Fri, 23 May 2025 17:11:08 +0800 Subject: [PATCH] sc --- .env.base | 4 ++-- src/store/modules/user.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env.base b/.env.base index 2d3b1b8..19b9a09 100644 --- a/.env.base +++ b/.env.base @@ -4,8 +4,8 @@ VITE_NODE_ENV=development VITE_DEV=true # 请求路径 -# VITE_BASE_URL='http://47.98.161.246:48080' -VITE_BASE_URL='http://114.215.207.150:48080' +VITE_BASE_URL='http://47.98.161.246:48080' +# VITE_BASE_URL='http://114.215.207.150:48080' # 小程序接口请求路劲 VITE_APPLET_URL='https://cloud.ahduima.com' diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts index 25af179..a3d9b7e 100644 --- a/src/store/modules/user.ts +++ b/src/store/modules/user.ts @@ -64,7 +64,7 @@ export const useUserStore = defineStore('admin-user', { async loginOut() { await loginOut() removeToken() - cache.local.clear() + // cache.local.clear() this.resetState() }, resetState() {