Merge pull request 'zmr' (#45) from zmr into master

Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/45
This commit is contained in:
zhaomingrui 2020-07-03 10:59:01 +08:00
commit aeacee3e65

View File

@ -152,6 +152,13 @@
console.log(res)
// console.log(res)
if (res.errCode == 0) {
if(res.data == ''){
this.$refs.uToast.show({
title: res.message,
type: 'error'
})
return false
}else{
//
uni.setStorage({
key: 'user_info',
@ -164,6 +171,8 @@
})
}
});
}
// token
uni.setStorage({