diff --git a/src/components/menu/menu.vue b/src/components/menu/menu.vue index 66586887..392b57af 100644 --- a/src/components/menu/menu.vue +++ b/src/components/menu/menu.vue @@ -133,9 +133,9 @@ } }, mounted () { - this.updateActiveName(); this.openedNames = [...this.openNames]; this.updateOpened(); + this.$nextTick(() => this.updateActiveName()); this.$on('on-menu-item-select', (name) => { this.currentActiveName = name; this.$emit('on-select', name);