feat: 更新
This commit is contained in:
parent
f8ec88ea64
commit
5326405a38
@ -78,7 +78,6 @@ export const useSync = () => {
|
|||||||
) => {
|
) => {
|
||||||
// 补充 class 上的方法
|
// 补充 class 上的方法
|
||||||
let newComponent: CreateComponentType = await createComponent(_componentInstance.chartConfig)
|
let newComponent: CreateComponentType = await createComponent(_componentInstance.chartConfig)
|
||||||
newComponent.option = _componentInstance?.option
|
|
||||||
if (callBack) {
|
if (callBack) {
|
||||||
if (changeId) {
|
if (changeId) {
|
||||||
callBack(componentMerge(newComponent, { ..._componentInstance, id: getUUID() }))
|
callBack(componentMerge(newComponent, { ..._componentInstance, id: getUUID() }))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user