diff --git a/pages/login/index.vue b/pages/login/index.vue index 6e8363a..5609b6a 100644 --- a/pages/login/index.vue +++ b/pages/login/index.vue @@ -593,8 +593,8 @@ async exchangeToken(options) { try { const type = '100' - const code = '1222' || options?.code - const state = this.uuid() || options?.state + const code = options?.code + const state =options?.state || this.uuid() const res = await socialLogin(type, code, state) const {accessToken,refreshToken} = res.data const userStore = useUserStore()