Add "detectBrowserRouterReady" patch

This commit is contained in:
redphx
2024-08-02 20:47:28 +07:00
parent 5db35cdcc9
commit 39f7ee6ddb
2 changed files with 24 additions and 1 deletions

View File

@@ -53,6 +53,8 @@ export namespace BxEvent {
export const XCLOUD_RENDERING_COMPONENT = 'bx-xcloud-rendering-page';
export const XCLOUD_ROUTER_HISTORY_READY = 'bx-xcloud-router-history-ready';
export function dispatch(target: Element | Window | null, eventName: string, data?: any) {
if (!target) {
return;