fix: select最后一个tag,hover展示有意义的label
parent
e46d537d45
commit
9ea371499e
|
@ -203,8 +203,9 @@ const SelectSelector = defineComponent<SelectorProps>({
|
||||||
typeof maxTagPlaceholder === 'function'
|
typeof maxTagPlaceholder === 'function'
|
||||||
? maxTagPlaceholder(omittedValues)
|
? maxTagPlaceholder(omittedValues)
|
||||||
: maxTagPlaceholder;
|
: maxTagPlaceholder;
|
||||||
|
const title = omittedValues.map(item => item.label).join(',')
|
||||||
|
|
||||||
return defaultRenderSelector(content, content, false);
|
return defaultRenderSelector(title, content, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
const handleInput = (e: Event) => {
|
const handleInput = (e: Event) => {
|
||||||
|
|
Loading…
Reference in New Issue