feat: 更新

This commit is contained in:
蒋承 2022-10-09 15:50:46 +08:00
parent b055b6c511
commit 6dcd39983f

View File

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