🐛(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, deep: true,
defaultValue: [] as TagData[], defaultValue: [] as TagData[],
}); });
const _tagProps = reactive(props.tagProps ?? {})
const tagProps = reactiveOmit( const tagProps = reactiveOmit(
props.tagProps ?? {}, _tagProps,
"closable", "closable",
"size", "size",
"disabled" "disabled"