mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
fix: component delete error
This commit is contained in:
@@ -409,6 +409,10 @@ function removeItemById(id: number) {
|
||||
const index = canvasComponentData.value.findIndex((item) => item.id === id)
|
||||
if (index >= 0) {
|
||||
removeItem(index)
|
||||
renderOk.value = false
|
||||
nextTick(() => {
|
||||
renderOk.value = true
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user