Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
飞
飞鹤小程序
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
FH
飞鹤小程序
Commits
558f0d53
Commit
558f0d53
authored
Aug 12, 2025
by
weishengfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor/views: 注释掉 My.vue 中的工具列表代码
- 注释掉了 My.vue 文件中初始化工具列表的代码块 - 这些工具包括生长测评、喂养记录和产检提醒 - 注释代码以便于后续可能的开发或调试
parent
84825765
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
33 deletions
+33
-33
My.vue
views/My.vue
+33
-33
No files found.
views/My.vue
View file @
558f0d53
...
...
@@ -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
],
()
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment