From 44639d7a2ad4d81defc1b5bcc63b1701b83fe380 Mon Sep 17 00:00:00 2001 From: PQZ Date: Wed, 28 Aug 2024 15:24:29 +0800 Subject: [PATCH] 1 --- pages/login/loginSms.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/login/loginSms.vue b/pages/login/loginSms.vue index ba88a59..3efc85c 100644 --- a/pages/login/loginSms.vue +++ b/pages/login/loginSms.vue @@ -135,8 +135,8 @@ method: 'post', data: this.appuser }).then((res) => { - if (res.code == 200) { - uni.setStorageSync("App-Token", res.token) + if (res.code == 0) { + uni.setStorageSync("App-Token", res.data.accessToken) if (this.tabindex == 0) { uni.navigateTo({ url: "/pages/index/index"