@tmagic/editor 1.0.0-beta.6 → 1.0.0-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0-beta.6",
2
+ "version": "1.0.0-beta.7",
3
3
  "name": "@tmagic/editor",
4
4
  "sideEffects": false,
5
5
  "main": "dist/tmagic-editor.umd.js",
@@ -31,7 +31,7 @@
31
31
  "@tmagic/core": "^1.0.0-beta.6",
32
32
  "@tmagic/form": "^1.0.0-beta.6",
33
33
  "@tmagic/schema": "^1.0.0-beta.6",
34
- "@tmagic/stage": "^1.0.0-beta.6",
34
+ "@tmagic/stage": "^1.0.0-beta.7",
35
35
  "@tmagic/utils": "^1.0.0-beta.6",
36
36
  "color": "^3.1.3",
37
37
  "element-plus": "^2.0.2",
@@ -295,7 +295,7 @@ class Editor extends BaseService {
295
295
 
296
296
  let newConfig = await this.toggleFixedPosition(toRaw(config), node, this.get<MApp>('root'));
297
297
 
298
- newConfig = mergeWith(node, newConfig, (objValue, srcValue) => {
298
+ newConfig = mergeWith(cloneDeep(node), newConfig, (objValue, srcValue) => {
299
299
  if (Array.isArray(srcValue)) {
300
300
  return srcValue;
301
301
  }