Splitbutton default action problem fixed
parent
c5c1e69a65
commit
4f013b09f7
|
@ -27,6 +27,7 @@ import { UniqueComponentId } from 'primevue/utils';
|
|||
|
||||
export default {
|
||||
name: 'SplitButton',
|
||||
emits: ['click'],
|
||||
props: {
|
||||
label: {
|
||||
type: String,
|
||||
|
@ -91,6 +92,8 @@ export default {
|
|||
},
|
||||
onDefaultButtonClick(event) {
|
||||
this.$refs.menu.hide(event);
|
||||
|
||||
this.$emit('click');
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
|
Loading…
Reference in New Issue