fix: 部分图表可能删除失败问题

This commit is contained in:
wangjiahao
2025-04-07 11:53:29 +08:00
committed by 王嘉豪
parent 4b174ae71c
commit 0ee4a931f9

View File

@@ -242,6 +242,12 @@ export function historyAdaptor(
attachInfo,
canvasVersion
) {
// 防止出现主画布canvasId 不一致情况
if (attachInfo.resourceTable === 'snapshot') {
canvasDataResult.forEach(componentItem => {
componentItem.canvasId = 'canvas-main'
})
}
const curVersion = wsCache.get('x-de-execute-version')
// 含有定时报告过滤项每次都需要匹配
const reportFilterInfo = canvasInfo?.reportFilterInfo