Commit ab1d9875 authored by spc's avatar spc

user.js

parent cd333755
......@@ -149,10 +149,10 @@ export const useUserStore = defineStore("userInfo", {
console.log("babyInfo-宝宝信息", data);
if (data?.memberId !== "not_login") {
this.babyInfo = data;
if (data.allBabyBaseInfo) {
this.babyInfo = data;
if (this.babyInfo.babyAge == "0月龄") {
this.babyInfo.babyAge = "1月龄";
}
......@@ -180,10 +180,10 @@ export const useUserStore = defineStore("userInfo", {
} else {
console.log("Max retries reached, giving up");
// Show user notification when max retries reached
uni.showToast({
title: "系统繁忙,请稍后再试",
icon: "none",
});
// uni.showToast({
// title: "系统繁忙,请稍后再试",
// icon: "none",
// });
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment