mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
fix: 部分图表可能删除失败问题
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user