修复...
This commit is contained in:
@@ -398,7 +398,6 @@ export default {
|
||||
*/
|
||||
logs() {
|
||||
logs().then(res => {
|
||||
// console.log(res.is_login)
|
||||
this.weight = res.weight;
|
||||
this.water = res.water;
|
||||
this.intake_run = res.intake_run;
|
||||
@@ -408,7 +407,14 @@ export default {
|
||||
this.banner = res.banner;
|
||||
this.user = res.user;
|
||||
this.notifications_count = res.notifications_count;
|
||||
});
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
icon: "none",
|
||||
duration: 2000,
|
||||
mask: true
|
||||
})
|
||||
});
|
||||
},
|
||||
/**
|
||||
* @description:跳转登录页面
|
||||
|
||||
Reference in New Issue
Block a user