feat: 动态数据维度不同,导致整合维度bug

This commit is contained in:
蒋承 2022-10-09 13:58:29 +08:00
parent 785a4d97f7
commit 1d18c86dc7

View File

@ -55,6 +55,7 @@ export const useSync = () => {
) => {
// 补充 class 上的方法
let newComponent: CreateComponentType = await createComponent(_componentInstance.chartConfig)
newComponent.option = _componentInstance?.option
if (callBack) {
if (changeId) {
callBack(merge(newComponent, { ..._componentInstance, id: getUUID() }))