Browse Source

fix: read anycallAccessToken

王晓东 4 tuần trước cách đây
mục cha
commit
c7a6b78a43
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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(() => {