diff --git a/src/layout/dock/index.tsx b/src/layout/dock/index.tsx index 4f5a911..3352115 100644 --- a/src/layout/dock/index.tsx +++ b/src/layout/dock/index.tsx @@ -10,6 +10,12 @@ export default defineComponent(() => { ref('dock') ) const current = ref(-1) + // window.addEventListener('keydown', (e) => { + // const i = layout.state.dockLabels.indexOf(e.key) + // if (i >= 0) { + // layout.state.dock[i] = null + // } + // }) return () => (