dev-cl^2
qsh 1 month ago
parent 4b030babe2
commit 4735da7362
  1. 4
      .env.base
  2. 2
      src/store/modules/user.ts

@ -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'

@ -64,7 +64,7 @@ export const useUserStore = defineStore('admin-user', {
async loginOut() {
await loginOut()
removeToken()
cache.local.clear()
// cache.local.clear()
this.resetState()
},
resetState() {

Loading…
Cancel
Save