once改为listen修复日志监听无法触发的bug 增加输入框右键菜单 增加成员列表接收和传输的字符大小 优化成员列表nat_type为中文 修复ipv4无法显示的问题

This commit is contained in:
黑先森
2024-11-30 15:16:40 +08:00
parent 02b53098e8
commit 3aa90dbb67
10 changed files with 70 additions and 59 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ export default async (
defaultOpts.y = logicalPosition.y;
}
dialog = new WebviewWindow(label, { ...defaultOpts, ...options });
unlistenLogCreated = await dialog.once("tauri://webview-created", async () => {
unlistenLogCreated = await dialog.listen("tauri://webview-created", async () => {
if (dialog) {
afterCreatedFunc && (await afterCreatedFunc(dialog, appWindow));
await dialog.show();