From d18a0c9fe708dcf58253b54ef2938b5e864b24df Mon Sep 17 00:00:00 2001
From: zuoxiao <zuoxiao>
Date: 星期一, 28 四月 2025 14:39:30 +0800
Subject: [PATCH] 优化水摄入页面的确认弹窗逻辑,调整showConfirm状态的设置位置,并移除不必要的代码注释,提升代码可读性和维护性。
---
pages/home/home.json | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/pages/home/home.json b/pages/home/home.json
index 0c560da..f5ba849 100644
--- a/pages/home/home.json
+++ b/pages/home/home.json
@@ -2,9 +2,14 @@
"component": true,
"usingComponents": {
"t-avatar": "tdesign-miniprogram/avatar/avatar",
- "t-switch": "tdesign-miniprogram/switch/switch"
+ "t-swipe-cell": "tdesign-miniprogram/swipe-cell/swipe-cell",
+ "t-dialog": "tdesign-miniprogram/dialog/dialog"
},
"navigationBarTitleText": "澶х鑺傛按",
"navigationBarTextStyle": "white",
- "enablePullDownRefresh": true
+ "permission": {
+ "scope.camera": {
+ "desc": "浣跨敤鎽勫儚澶存壂鎻忎簩缁寸爜"
+ }
+ }
}
\ No newline at end of file
--
Gitblit v1.8.0