perf: 更新license时同时绑定url

This commit is contained in:
xiaojunnuo
2025-04-19 11:48:23 +08:00
parent dc05cd481f
commit 78367af830
3 changed files with 16 additions and 16 deletions
@@ -65,7 +65,7 @@ export class IframeClient {
return window.self !== window.top;
}
register<T = any>(action: string, handler: (data: IframeMessageData<T>) => Promise<void>) {
register<T = any>(action: string, handler: (data: IframeMessageData<T>) => Promise<any>) {
this.handlers[action] = handler;
}