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