first commit

This commit is contained in:
编码猿
2024-09-27 01:32:49 +08:00
commit 28ebe05a64
7399 changed files with 1174529 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
import { computed,toRefs, Ref, ref, reactive } from '@vue/composition-api';
import { UnwrapRef } from '@vue/composition-api/dist/reactivity';
/**
* 注意广播只能在androidChromeEdgeFirefoxOpera中使用
* 不支持IESafari 等浏览器,请注意兼容性
* @constructor
*/
export function HelpingPopupBroadcastChannel() {
const state: UnwrapRef<{
HelpingSuccess: BroadcastChannel
}> = {
HelpingSuccess: new BroadcastChannel('HelpingSuccess')
};
return {
...toRefs(state)
}
}