17 lines
482 B
TypeScript
17 lines
482 B
TypeScript
import { computed,toRefs, Ref, ref, reactive } from '@vue/composition-api';
|
||
import { UnwrapRef } from '@vue/composition-api/dist/reactivity';
|
||
|
||
/**
|
||
* 注意广播只能在android,Chrome,Edge,Firefox,Opera中使用
|
||
* 不支持IE,Safari 等浏览器,请注意兼容性
|
||
* @constructor
|
||
*/
|
||
export function HelpingPopupMessageChannel() {
|
||
const state: UnwrapRef<{
|
||
HelpingSuccess: MessageChannel
|
||
}> = {
|
||
HelpingSuccess: new MessageChannel()
|
||
};
|
||
|
||
return state
|
||
}; |