From a7b6d7c50bb0d0053830854ead659d497fe7e4a6 Mon Sep 17 00:00:00 2001 From: "zhou, peng" Date: Wed, 17 Mar 2021 21:26:41 +0800 Subject: [PATCH] Update utils.js --- lib/utils.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/utils.js b/lib/utils.js index c738f0e..1af87cb 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -170,6 +170,9 @@ exports.mergeClone = function mergeClone(to, from) { while (i--) { key = keys[i]; + if (specialProperties.indexOf(key) !== -1) { + continue; + } if ('undefined' === typeof to[key]) { to[key] = clone(from[key]); } else {