From 0d380371c9f72f13c569306b3e2b720a285d0cd5 Mon Sep 17 00:00:00 2001 From: zsmj Date: Mon, 24 Apr 2023 10:49:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=20fix:=20fix=20=E6=95=B0=E7=BB=84?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fineui/src/fix/fix.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fineui/src/fix/fix.js b/packages/fineui/src/fix/fix.js index 1cd977916..92cba70f8 100644 --- a/packages/fineui/src/fix/fix.js +++ b/packages/fineui/src/fix/fix.js @@ -635,7 +635,7 @@ const Observer = (function() { function protoAugment(target, src, keys) { /* eslint-disable no-proto */ - target.__proto__ = src; + Object.setPrototypeOf(target, src); /* eslint-enable no-proto */ }