fix: 修复因过滤组件复制导致定时报告编辑失败问题

This commit is contained in:
wangjiahao
2025-06-24 21:54:57 +08:00
parent d0b35479a7
commit 90a24ddab3

View File

@@ -213,6 +213,11 @@ function deepCopyHelper(data, idMap) {
delete result.mEvents
delete result.mPropValue
delete result.mCommonBackground
if (result.component === 'VQuery') {
result.propValue?.forEach(queryItem => {
queryItem.id = generateID()
})
}
if (result.component === 'Group') {
result.propValue?.forEach((component, i) => {
result.propValue[i] = deepCopyHelper(component, idMap)