修复build问题

This commit is contained in:
xintaofei
2026-03-26 22:19:19 +08:00
parent de917697b5
commit bf32cb71e7

View File

@@ -62,6 +62,7 @@ export async function openFileDialog(options?: {
directory?: boolean
multiple?: boolean
title?: string
defaultPath?: string
}): Promise<string | string[] | null> {
if (isDesktop()) {
const { open } = await import("@tauri-apps/plugin-dialog")