调整通信
Some checks failed
test / Run tests (push) Failing after 15s
build / Build (push) Failing after 19s

This commit is contained in:
2025-03-22 02:50:56 +08:00
parent 131f1bda40
commit 57bef5a023
27 changed files with 301 additions and 203 deletions

View File

@ -171,7 +171,6 @@ export class ServiceWorkerMessageSend implements MessageSend {
const list = await self.clients.matchAll({ includeUncontrolled: true, type: "window" });
this.target = list[0];
self.addEventListener("message", (e) => {
console.log("serviceWorker", e);
this.messageHandle(e.data);
});
}