修复build问题
This commit is contained in:
@@ -62,6 +62,7 @@ export async function openFileDialog(options?: {
|
|||||||
directory?: boolean
|
directory?: boolean
|
||||||
multiple?: boolean
|
multiple?: boolean
|
||||||
title?: string
|
title?: string
|
||||||
|
defaultPath?: string
|
||||||
}): Promise<string | string[] | null> {
|
}): Promise<string | string[] | null> {
|
||||||
if (isDesktop()) {
|
if (isDesktop()) {
|
||||||
const { open } = await import("@tauri-apps/plugin-dialog")
|
const { open } = await import("@tauri-apps/plugin-dialog")
|
||||||
|
|||||||
Reference in New Issue
Block a user