Commit ab1d9875 authored by spc's avatar spc

user.js

parent cd333755
...@@ -149,10 +149,10 @@ export const useUserStore = defineStore("userInfo", { ...@@ -149,10 +149,10 @@ export const useUserStore = defineStore("userInfo", {
console.log("babyInfo-宝宝信息", data); console.log("babyInfo-宝宝信息", data);
if (data?.memberId !== "not_login") { if (data?.memberId !== "not_login") {
this.babyInfo = data;
if (data.allBabyBaseInfo) { if (data.allBabyBaseInfo) {
this.babyInfo = data;
if (this.babyInfo.babyAge == "0月龄") { if (this.babyInfo.babyAge == "0月龄") {
this.babyInfo.babyAge = "1月龄"; this.babyInfo.babyAge = "1月龄";
} }
...@@ -180,10 +180,10 @@ export const useUserStore = defineStore("userInfo", { ...@@ -180,10 +180,10 @@ export const useUserStore = defineStore("userInfo", {
} else { } else {
console.log("Max retries reached, giving up"); console.log("Max retries reached, giving up");
// Show user notification when max retries reached // Show user notification when max retries reached
uni.showToast({ // uni.showToast({
title: "系统繁忙,请稍后再试", // title: "系统繁忙,请稍后再试",
icon: "none", // 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