From 5fe65ee93c3831eabd2d706c78277fbcba209a79 Mon Sep 17 00:00:00 2001 From: sight <1453017105@qq.com> Date: Sun, 25 Sep 2022 11:49:02 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(component):=20[tagInput]:=20tagPro?= =?UTF-8?q?ps=20omit=20=E5=8F=82=E6=95=B0=E7=B1=BB=E5=9E=8B=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/component/src/component/tagInput/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/component/src/component/tagInput/index.vue b/package/component/src/component/tagInput/index.vue index e3580730..55b975fc 100644 --- a/package/component/src/component/tagInput/index.vue +++ b/package/component/src/component/tagInput/index.vue @@ -60,9 +60,9 @@ const tagData = useVModel(props, "modelValue", emit, { deep: true, defaultValue: [] as TagData[], }); - -const tagProps = reactiveOmit( - props.tagProps ?? {}, +const _tagProps = reactive(props.tagProps ?? {}) +const tagProps = reactiveOmit( + _tagProps, "closable", "size", "disabled"