🐛(component): [tagInput]: tagProps omit 参数类型错误
This commit is contained in:
parent
6035cdd01f
commit
5fe65ee93c
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user