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', method: 'post',
data: this.appuser data: this.appuser
}).then((res) => { }).then((res) => {
if (res.code == 200) { if (res.code == 0) {
uni.setStorageSync("App-Token", res.token) uni.setStorageSync("App-Token", res.data.accessToken)
if (this.tabindex == 0) { if (this.tabindex == 0) {
uni.navigateTo({ uni.navigateTo({
url: "/pages/index/index" url: "/pages/index/index"