mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
fix: 修复因过滤组件复制导致定时报告编辑失败问题
This commit is contained in:
@@ -212,6 +212,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)
|
||||
|
||||
Reference in New Issue
Block a user