Skip to content

Commit dcb8eaa

Browse files
committed
fix: 修复测试调整
1 parent 1a93f4a commit dcb8eaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/TabCommunication.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class TabCommunication {
1919
* @param {string} channelName - 通信频道名称(区分不同通信链路)
2020
*/
2121
constructor(channelName: string) {
22-
this.isSupported = typeof window.BroadcastChannel === 'undefined'
22+
this.isSupported = typeof window.BroadcastChannel !== 'undefined'
2323
this.messageCallback = null // 消息回调函数
2424
this.storageKey = `${pkg.name}_${channelName}` // localStorage 唯一标识(避免冲突)
2525
this.bc = null

0 commit comments

Comments
 (0)