forked from github/dataease
Merge pull request #12620 from dataease/pr@dev-v2@fix_top-componnet
fix(数据大屏): 修复鼠标置顶出错问题 #12593
This commit is contained in:
commit
c7b63c2f00
@ -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