事件中心ui

This commit is contained in:
2025-11-10 12:45:34 +08:00
parent 46ba421f42
commit a00b8bb73d
3 changed files with 88 additions and 14 deletions

View File

@@ -9,6 +9,10 @@ import './styles/brainwave-colors.css';
// Import the main App component
import App from './App';
// 导入通知服务并挂载到 window用于调试
import { browserNotificationService } from './services/browserNotificationService';
window.browserNotificationService = browserNotificationService;
// 注册 Service Worker用于支持浏览器通知
function registerServiceWorker() {
// ⚠️ Mock 模式下跳过 Service Worker 注册(避免与 MSW 冲突)