🐛(component): [tagInput]: tagProps omit 参数类型错误

This commit is contained in:
sight 2022-09-25 11:49:02 +08:00
parent 6035cdd01f
commit 5fe65ee93c

View File

@ -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"