代客下单修改,登录页面修改,部分页面调整,请求封装调整
This commit is contained in:
@@ -201,8 +201,8 @@
|
||||
|
||||
const getCode = () => {
|
||||
getCodeImg().then(res => {
|
||||
vdata.formData.img = res.data.code
|
||||
vdata.formData.uuid = res.data.uuid
|
||||
vdata.formData.img = res.code
|
||||
vdata.formData.uuid = res.uuid
|
||||
})
|
||||
}
|
||||
|
||||
@@ -234,7 +234,7 @@
|
||||
uni.removeStorageSync('tokenInfo')
|
||||
uni.removeStorageSync('shopId')
|
||||
// 登录成功
|
||||
loginFinishFunc(res.data)
|
||||
loginFinishFunc(res)
|
||||
}).catch(e => {
|
||||
getCode()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user