导出 openUserInfoDialog openChatInfoDialog 到 window

* 无奈之举
This commit is contained in:
CrescentLeaf
2025-11-16 19:31:16 +08:00
parent 19cfd84e7d
commit dec9068cc8
3 changed files with 18 additions and 0 deletions

View File

@@ -120,6 +120,10 @@ export default function AppMobile() {
}
userProfileDialogRef.current!.open = true
}
// deno-lint-ignore no-window
window.openUserInfoDialog = openUserInfoDialog
// deno-lint-ignore no-window
window.openChatInfoDialog = openChatInfoDialog
return (
<div style={{