feat: 更新

This commit is contained in:
蒋承 2022-10-09 15:50:46 +08:00
parent f8ec88ea64
commit 5326405a38

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() }))