Skip to content

Commit 8b148fe

Browse files
committed
feat: 增加 getClientHubId 导出方法
1 parent 1995553 commit 8b148fe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/BootstrapBlazor/wwwroot/modules/utility.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -919,6 +919,10 @@ export function getNetworkInfo() {
919919
return null;
920920
}
921921

922+
export function getClientHubId() {
923+
return localStorage.getItem('bb_hub_connection_id');
924+
}
925+
922926
export {
923927
autoAdd,
924928
autoRemove,

0 commit comments

Comments
 (0)