Reset state on close
This commit is contained in:
parent
4575c3428a
commit
461d3468a5
|
@ -63,6 +63,11 @@
|
|||
animating: false,
|
||||
first: true
|
||||
}
|
||||
},
|
||||
updated: function () {
|
||||
if (this.active) return;
|
||||
this.activeIndex = this.lastActiveIndex = -1;
|
||||
this.sidebarItems.forEach(item => item.active = false);
|
||||
}
|
||||
}
|
||||
</script>
|
Loading…
Reference in New Issue