This commit is contained in:
PQZ 2024-08-28 15:24:29 +08:00
parent ab8e44c8bb
commit 44639d7a2a

View File

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