fix(数据大屏): 修复直接拖动左侧图层排序无法触发保存按钮事件问题 #10254

This commit is contained in:
wangjiahao 2024-06-21 10:26:22 +08:00
parent c2499ec0da
commit 5a1e8ae108

View File

@ -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 => {