diff --git a/src/components/button/button.vue b/src/components/button/button.vue index d2c7be0..626ff7f 100644 --- a/src/components/button/button.vue +++ b/src/components/button/button.vue @@ -102,7 +102,7 @@ }, methods: { // Ctrl or CMD and click, open in new window when use `to` - handleClickLink (event, new_window) { + handleClickLink (event, new_window = false) { this.$emit('click', event); this.handleCheckClick(event, new_window); diff --git a/src/components/menu/menu-item.vue b/src/components/menu/menu-item.vue index 23e2b96..4be3d70 100644 --- a/src/components/menu/menu-item.vue +++ b/src/components/menu/menu-item.vue @@ -1,5 +1,13 @@