We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05001e6 commit a7658e0Copy full SHA for a7658e0
src/core/util/options.js
@@ -55,7 +55,11 @@ function mergeData (to: Object, from: ?Object): Object {
55
fromVal = from[key]
56
if (!hasOwn(to, key)) {
57
set(to, key, fromVal)
58
- } else if (isPlainObject(toVal) && isPlainObject(fromVal)) {
+ } else if (
59
+ toVal !== fromVal &&
60
+ isPlainObject(toVal) &&
61
+ isPlainObject(fromVal)
62
+ ) {
63
mergeData(toVal, fromVal)
64
}
65
0 commit comments