fix: use Web.BU.requestPort explicitly for Add Device button to support WebSocket mode

This commit is contained in:
yczpf2019
2026-01-24 18:34:30 +08:00
parent aa85c7ef27
commit 8b59808c17

View File

@@ -180,7 +180,7 @@ goog.loadJs('common', () => {
}
return true;
},
callback: () => BU.requestPort().catch(Debug.error),
callback: () => Web.BU.requestPort().catch(Debug.error),
scopeType: Nav.Scope.LEFT,
weight: 3
});