feat: 优化提醒注册逻辑,确保用户姓名存在时注册午餐、晚餐和心情提醒;更新睡眠详情页面,添加清醒时间段的判断和模拟数据展示;调整样式以提升用户体验

This commit is contained in:
richarjiang
2025-09-08 17:45:30 +08:00
parent f9a175d76c
commit bf3304eb06
5 changed files with 198 additions and 136 deletions

View File

@@ -163,10 +163,10 @@ async function executeBackgroundTasks(): Promise<void> {
}
// 执行喝水提醒检查任务
await executeWaterReminderTask();
executeWaterReminderTask();
// 执行站立提醒检查任务
await executeStandReminderTask();
executeStandReminderTask();
console.log('后台任务执行完成');
} catch (error) {