Pre Merge pull request !73 from jiangcheng/dev

This commit is contained in:
jiangcheng 2022-10-09 05:59:35 +00:00 committed by Gitee
commit e72f9dc2f9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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