From 6dc93c301a8a9902cf6d035818a3e2b2fe4cbee1 Mon Sep 17 00:00:00 2001 From: xiebanglong <601988096@qq.com> Date: Wed, 26 Jan 2022 10:55:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DSelect=EF=BC=8Cprocess?= =?UTF-8?q?Option=E5=A4=84=E7=90=86=E5=AF=BC=E8=87=B4=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E6=8C=87=E4=BB=A4=E7=9A=84inserted=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E6=89=A7=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/select/select.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/select/select.vue b/src/components/select/select.vue index 4f1fd5d08..f9e27a661 100644 --- a/src/components/select/select.vue +++ b/src/components/select/select.vue @@ -563,13 +563,13 @@ disabled: typeof disabled === 'undefined' ? false : disabled !== false, }; - return { + return Object.assign(Object.create(option.__proto__), { ...option, componentOptions: { ...option.componentOptions, propsData: propsData } - }; + }); }, validateOption({children, elm, propsData}){