소스 검색

fix: read anycallAccessToken

王晓东 4 주 전
부모
커밋
c7a6b78a43
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/store/modules/user.ts

+ 1 - 1
src/store/modules/user.ts

@@ -11,7 +11,7 @@ export const useUserStore = defineStore(
     const tabbarStore = useTabbarStore()
 
     const account = ref(localStorage.account ?? '')
-    const token = ref(localStorage.accessToken ?? '')
+    const token = ref(localStorage.anycallAccessToken ?? '')
     const avatar = ref(localStorage.avatar ?? '')
     const permissions = ref<string[]>([])
     const isLogin = computed(() => {