Update SpeedDial.vue
parent
7e3f17c4a3
commit
887b635a92
|
@ -103,12 +103,13 @@ export default {
|
|||
this.list.style.setProperty('--item-diff-y', `${hDiff / 2}px`);
|
||||
}
|
||||
}
|
||||
},
|
||||
beforeMount() {
|
||||
if (this.hideOnClickOutside) {
|
||||
this.bindDocumentClickListener();
|
||||
}
|
||||
},
|
||||
beforeMount() {
|
||||
this.unbindDocumentClickListener();
|
||||
},
|
||||
methods: {
|
||||
onItemClick(e, item) {
|
||||
if (item.command) {
|
||||
|
|
Loading…
Reference in New Issue