修复...

This commit is contained in:
2022-02-14 11:44:49 +08:00
parent b3739a9d8d
commit db94c6b962
14 changed files with 762 additions and 812 deletions

View File

@@ -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:跳转登录页面