@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.
|
@@ -932,7 +932,7 @@
|
|
|
932
932
|
throw new Error(`\u83B7\u53D6\u4E0D\u5230id\u4E3A${config2.id}\u7684\u8282\u70B9`);
|
|
933
933
|
const node = lodashEs.cloneDeep(vue.toRaw(info.node));
|
|
934
934
|
let newConfig = await this.toggleFixedPosition(vue.toRaw(config2), node, this.get("root"));
|
|
935
|
-
newConfig = lodashEs.mergeWith(node, newConfig, (objValue, srcValue) => {
|
|
935
|
+
newConfig = lodashEs.mergeWith(lodashEs.cloneDeep(node), newConfig, (objValue, srcValue) => {
|
|
936
936
|
if (Array.isArray(srcValue)) {
|
|
937
937
|
return srcValue;
|
|
938
938
|
}
|