Commit 203fb2ca authored by spc's avatar spc

babyId.value

parent 68bf343e
...@@ -939,6 +939,9 @@ async function loadBabyInfo() { ...@@ -939,6 +939,9 @@ async function loadBabyInfo() {
// 获取首页数据 // 获取首页数据
async function loadHomeData() { async function loadHomeData() {
if (!babyId.value) {
return
}
try { try {
const response = await feedingHome(babyId.value) const response = await feedingHome(babyId.value)
console.log('首页数据:', response) console.log('首页数据:', response)
......
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