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,18 +152,27 @@
console.log(res) console.log(res)
// console.log(res) // console.log(res)
if (res.errCode == 0) { if (res.errCode == 0) {
// if(res.data == ''){
uni.setStorage({ this.$refs.uToast.show({
key: 'user_info', title: res.message,
data: res.data, type: 'error'
success: function() { })
console.log('success'); return false
// }else{
uni.navigateTo({ //
url : '/pageA/topick/topick' uni.setStorage({
}) key: 'user_info',
} data: res.data,
}); success: function() {
console.log('success');
//
uni.navigateTo({
url : '/pageA/topick/topick'
})
}
});
}
// token // token
uni.setStorage({ uni.setStorage({