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