修改接口问题
This commit is contained in:
@@ -257,17 +257,22 @@
|
||||
})
|
||||
setTimeout(function() {
|
||||
uni.switchTab({
|
||||
url: '/pages/index/index'
|
||||
url: '/pages/index/index2'
|
||||
});
|
||||
}, 1000)
|
||||
// this.getUserInfo(res.userId, res.token);
|
||||
} else {
|
||||
uni.hideLoading();
|
||||
uni.showModal({
|
||||
showCancel: false,
|
||||
title: '注册失败',
|
||||
content: res.msg
|
||||
});
|
||||
setTimeout(function() {
|
||||
uni.navigateTo({
|
||||
url: '/pages/login/login'
|
||||
});
|
||||
}, 1000)
|
||||
// uni.showModal({
|
||||
// showCancel: false,
|
||||
// title: '注册失败',
|
||||
// content: res.msg
|
||||
// });
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user