This commit is contained in:
Vanessa 2023-05-23 19:16:06 +08:00
parent 657d938a9a
commit 07b0ccbabe
2 changed files with 6 additions and 1 deletions

View file

@ -323,7 +323,11 @@ declare interface IOpenFileOptions {
title: string,
icon: string,
data?: any
fn?: (options: { tab: import("../layout/Tab").Tab, data: any }) => import("../layout/Model").Model,
fn?: (options: {
tab: import("../layout/Tab").Tab,
data: any,
app: import("../index").App
}) => import("../layout/Model").Model,
}
assetPath?: string, // asset 必填
fileName?: string, // file 必填