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