mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
@@ -34,7 +34,10 @@ export default defineComponent({
|
||||
|
||||
function handleClick(e: UIEvent) {
|
||||
// if disabled don't collapse the drop-down list
|
||||
if(props.disabled) return
|
||||
if (props.disabled) {
|
||||
e.stopImmediatePropagation()
|
||||
return
|
||||
}
|
||||
if (elDropdown.hideOnClick.value) {
|
||||
elDropdown.handleClick?.()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user