feat: 支持饮水记录卡片
This commit is contained in:
@@ -100,8 +100,7 @@ export class NotificationService {
|
||||
this.setupNotificationListeners();
|
||||
|
||||
// 检查已存在的通知
|
||||
const existingNotifications = await this.getAllScheduledNotifications();
|
||||
console.log('已存在的通知数量:', existingNotifications.length);
|
||||
await this.getAllScheduledNotifications();
|
||||
|
||||
this.isInitialized = true;
|
||||
console.log('推送通知服务初始化成功');
|
||||
|
||||
Reference in New Issue
Block a user