forked from github/dataease
fix(数据大屏): 修复鼠标置顶出错问题 #12593
This commit is contained in:
parent
4e92047955
commit
58fed7b3f3
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user