This commit is contained in:
IndieKKY
2024-10-06 18:42:27 +08:00
parent 02aaba6a83
commit 97bd23bcc0

View File

@@ -60,7 +60,7 @@ class ExtensionMessaging<M extends ExtensionMessage> {
const l1protocol = new Layer1Protocol<L2ReqMsg, L2ResMsg>(async (req: L2ReqMsg) => {
const { tabId } = portContext
const method = this.methods?.[req.method as keyof typeof this.methods]
console.log('msg>>>', tabId, req, method != null)
// console.log('msg>>>', tabId, req, method != null)
if (method != null) {
return method(req.params, {
from: req.from,