forked from github/dataease
Merge pull request #10427 from dataease/pr@dev-v2@fix_screen-drag
fix(数据大屏): 修复直接拖动左侧图层排序无法触发保存按钮事件问题 #10254
This commit is contained in:
commit
11a0856636
@ -160,6 +160,7 @@ const dragOnEnd = ({ oldIndex, newIndex }) => {
|
||||
componentData.value.splice(comLength - 1 - oldIndex, 1)
|
||||
componentData.value.splice(comLength - 1 - newIndex, 0, target)
|
||||
dvMainStore.setCurComponent({ component: target, index: transformIndex(comLength - oldIndex) })
|
||||
snapshotStore.recordSnapshotCache()
|
||||
}
|
||||
|
||||
const getIconName = item => {
|
||||
|
Loading…
Reference in New Issue
Block a user