修复绑定手机号的问题
This commit is contained in:
@ -208,6 +208,7 @@ export const login = (option) => {
|
||||
resolve(data)
|
||||
uni.hideLoading();
|
||||
store.commit("LOGIN", data.token, dayjs(data.expires_time));
|
||||
store.dispatch('USERINFO', true)
|
||||
console.log(store)
|
||||
handleGetUserInfo()
|
||||
|
||||
|
@ -57,6 +57,7 @@ function baseRequest(options) {
|
||||
}).then(res => {
|
||||
const data = res.data || {};
|
||||
if (res.status !== 200) {
|
||||
|
||||
return Promise.reject({ msg: "请求失败", res, data });
|
||||
}
|
||||
if ([410000, 410001, 410002].indexOf(data.status) !== -1) {
|
||||
|
Reference in New Issue
Block a user