mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-06-22 01:39:31 +08:00
fix(editor): 切换布局失效
This commit is contained in:
parent
276b95a03c
commit
42f1789c10
@ -295,7 +295,7 @@ class Editor extends BaseService {
|
||||
|
||||
let newConfig = await this.toggleFixedPosition(toRaw(config), node, this.get<MApp>('root'));
|
||||
|
||||
newConfig = mergeWith(node, newConfig, (objValue, srcValue) => {
|
||||
newConfig = mergeWith(cloneDeep(node), newConfig, (objValue, srcValue) => {
|
||||
if (Array.isArray(srcValue)) {
|
||||
return srcValue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user