From 85384e7c0f5de7edc5ff076d673f1f07ed3bc2d9 Mon Sep 17 00:00:00 2001 From: imp Date: Mon, 2 Nov 2020 18:50:14 +0800 Subject: [PATCH] =?UTF-8?q?BI-75571=20fix:=E5=8E=9F=E6=9D=A5=E6=A0=B9?= =?UTF-8?q?=E6=8D=AE=E6=95=B0=E7=BB=84=E7=9A=84=E5=8F=98=E5=8C=96=E5=BC=BA?= =?UTF-8?q?=E5=88=B6=E5=88=B7=E6=96=B0=EF=BC=8C=E5=8A=A0=E4=B8=8B=E5=AF=B9?= =?UTF-8?q?=E8=B1=A1=E5=88=A4=E6=96=AD=EF=BC=8C=E4=BF=9D=E8=AF=81=E5=A6=82?= =?UTF-8?q?=E6=9E=9C=E6=A0=B9=E6=8D=AE=E8=BF=99=E4=B8=AA=E6=95=B0=E7=BB=84?= =?UTF-8?q?=E8=AE=A1=E7=AE=97=E5=BE=97=E5=88=B0=E7=9A=84=E8=AE=A1=E7=AE=97?= =?UTF-8?q?=E5=B1=9E=E6=80=A7=E6=98=AF=E5=9F=BA=E6=9C=AC=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E4=B8=94=E6=97=A0=E5=8F=98=E5=8C=96=E4=B8=8D=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/fix/fix.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/fix/fix.js b/dist/fix/fix.js index 486b935d5..412000142 100644 --- a/dist/fix/fix.js +++ b/dist/fix/fix.js @@ -359,7 +359,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons uniq[name] = true; } } - //添加访问器属性 + //添加访问器属性 for (name in accessors) { if (uniq[name]) { continue; @@ -850,7 +850,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons // Deep watchers and watchers on Object/Arrays should fire even // when the value is the same, because the value may // have mutated. - options && options.refresh || this.deep) { + _.isObject(value) && options && options.refresh || this.deep) { // set new value var oldValue = this.value; this.value = value; @@ -1462,4 +1462,4 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons exports.toJSON = toJSON; exports.__esModule = true; -}); \ No newline at end of file +});