change
This commit is contained in:
parent
550993cce5
commit
293fa3df42
|
@ -30,6 +30,7 @@ export default defineComponent(() => {
|
|||
const oldIdx = layout.currentPage.list.findIndex((el) => el.id === dragging.id)
|
||||
if (oldIdx < 0) return
|
||||
const block = layout.currentPage.list[oldIdx]
|
||||
if (!block) return
|
||||
layout.state.dock[i] = block
|
||||
layout.currentPage.list.splice(oldIdx, 1)
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue