Commit 558f0d53 authored by weishengfei's avatar weishengfei

refactor/views: 注释掉 My.vue 中的工具列表代码

- 注释掉了 My.vue 文件中初始化工具列表的代码块
- 这些工具包括生长测评、喂养记录和产检提醒
- 注释代码以便于后续可能的开发或调试
parent 84825765
......@@ -410,39 +410,39 @@ onMounted(async () => {
(item) => item.selected
)?.id;
const a = {
"bgUrl": "my/shengzhangTools.png",
"desc": "生长测评",
"link": {
"type": 1,
"url": "/pages/shengzhangTools/shengzhangTools"
},
"title": "生长测评"
}
const b = {
"bgUrl": "my/icon_feed.png",
"desc": "喂养记录",
"link": {
"extra": { babyId: babyId.value },
"type": 1,
"url": "/pages/feedingIndex/feedingIndex"
},
"title": "喂养记录"
}
const c = {
"bgUrl": "my/icon_remind.png",
"desc": "产检提醒",
"link": {
"extra": { babyId: babyId.value },
"type": 1,
"url": "/pages/postnatalCheckUp/postnatalCheckUp"
},
"title": "产检提醒"
}
toolList.value.push(a);
toolList.value.push(b);
toolList.value.push(c);
// const a = {
// "bgUrl": "my/shengzhangTools.png",
// "desc": "生长测评",
// "link": {
// "type": 1,
// "url": "/pages/shengzhangTools/shengzhangTools"
// },
// "title": "生长测评"
// }
// const b = {
// "bgUrl": "my/icon_feed.png",
// "desc": "喂养记录",
// "link": {
// "extra": { babyId: babyId.value },
// "type": 1,
// "url": "/pages/feedingIndex/feedingIndex"
// },
// "title": "喂养记录"
// }
// const c = {
// "bgUrl": "my/icon_remind.png",
// "desc": "产检提醒",
// "link": {
// "extra": { babyId: babyId.value },
// "type": 1,
// "url": "/pages/postnatalCheckUp/postnatalCheckUp"
// },
// "title": "产检提醒"
// }
// toolList.value.push(a);
// toolList.value.push(b);
// toolList.value.push(c);
});
watch([() => userStore.userInfo, () => userStore.babyInfo], () => {
......
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