1
This commit is contained in:
parent
ab8e44c8bb
commit
44639d7a2a
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user