Vanessa 2025-10-24 12:51:21 +08:00
parent a1781ae34d
commit fdef7398ed
7 changed files with 96 additions and 26 deletions

View file

@ -460,7 +460,7 @@ interface ISiyuan {
storage?: {
[key: string]: any
},
closedTabs: string[]
closedTabs?: ILayoutJSON[]
transactions?: {
protyle: IProtyle,
doOperations: IOperation[],
@ -595,6 +595,8 @@ interface ILayoutJSON extends ILayoutOptions {
page?: string
path?: string
blockId?: string
mode?: TEditorMode
action?: TProtyleAction
icon?: string
rootId?: string
active?: boolean