diff --git a/app/src/boot/globalEvent/keydown.ts b/app/src/boot/globalEvent/keydown.ts index 378624d44..34292322e 100644 --- a/app/src/boot/globalEvent/keydown.ts +++ b/app/src/boot/globalEvent/keydown.ts @@ -18,7 +18,7 @@ import {newFile} from "../../util/newFile"; import {Constants} from "../../constants"; import {openSetting} from "../../config"; import {getInstanceById} from "../../layout/util"; -import {closeTabByType, copyTab, getActiveTab, getDockByType, resizeTabs, switchTabByIndex} from "../../layout/tabUtil"; +import {copyTab, getActiveTab, getDockByType, resizeTabs, switchTabByIndex} from "../../layout/tabUtil"; import {Tab} from "../../layout/Tab"; import {Editor} from "../../editor"; import {setEditMode} from "../../protyle/util/setEditMode"; diff --git a/app/src/types/index.d.ts b/app/src/types/index.d.ts index bbe919b43..ec9a89957 100644 --- a/app/src/types/index.d.ts +++ b/app/src/types/index.d.ts @@ -852,7 +852,7 @@ interface IAVCell { } interface IAVCellValue { - keyID: string, + keyID?: string, id?: string, type: TAVCol, isDetached?: boolean,