mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-06 03:58:04 +08:00
Merge branch 'dev' of https://gitee.com/MTrun/go-view into master-fetch
This commit is contained in:
commit
1a00993ee8
@ -70,7 +70,7 @@ export const useSync = () => {
|
||||
if (changeId) {
|
||||
callBack(Object.assign(newComponent, { ..._componentInstance, id: getUUID() }))
|
||||
} else {
|
||||
callBack(Object.assign(newComponent))
|
||||
callBack(Object.assign(newComponent, _componentInstance))
|
||||
}
|
||||
} else {
|
||||
if (changeId) {
|
||||
@ -80,7 +80,7 @@ export const useSync = () => {
|
||||
true
|
||||
)
|
||||
} else {
|
||||
chartEditStore.addComponentList(Object.assign(newComponent), false, true)
|
||||
chartEditStore.addComponentList(Object.assign(newComponent, _componentInstance), false, true)
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -91,7 +91,7 @@ export const useSync = () => {
|
||||
if (changeId) {
|
||||
groupClass = Object.assign(groupClass, { ...comItem, id: getUUID() })
|
||||
} else {
|
||||
groupClass = Object.assign(groupClass, { ...comItem })
|
||||
groupClass = Object.assign(groupClass, comItem)
|
||||
}
|
||||
|
||||
// 注册子应用
|
||||
|
Loading…
x
Reference in New Issue
Block a user