mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 13:32:18 +08:00
fix(数据大屏): 修复鼠标置顶出错问题 #12593
This commit is contained in:
@@ -40,7 +40,7 @@ export const layerStore = defineStore('layer', {
|
||||
if (curInfo) {
|
||||
const { index, componentData, targetComponent } = curInfo
|
||||
if (index < componentData.length - 1) {
|
||||
componentData.splice(targetComponent, 1)
|
||||
componentData.splice(index, 1)
|
||||
componentData.push(targetComponent)
|
||||
curComponentIndex.value = componentData.length - 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user