Remove toast messages on route change
parent
65bf317eb0
commit
18b9541991
|
@ -28,6 +28,7 @@ export default {
|
||||||
watch: {
|
watch: {
|
||||||
$route() {
|
$route() {
|
||||||
this.sidebarActive = false;
|
this.sidebarActive = false;
|
||||||
|
this.$toast.removeAllGroups();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -29,8 +29,8 @@
|
||||||
|
|
||||||
<h3>Programmatic</h3>
|
<h3>Programmatic</h3>
|
||||||
<div style="padding: .5em 0">
|
<div style="padding: .5em 0">
|
||||||
<p-button icon="pi pi-chevron-left" @click="prev" class="p-button-secondary" />
|
<Button icon="pi pi-chevron-left" @click="prev" class="p-button-secondary" />
|
||||||
<p-button icon="pi pi-chevron-right" @click="next" style="margin-left: .5em" class="p-button-secondary"/>
|
<Button icon="pi pi-chevron-right" @click="next" style="margin-left: .5em" class="p-button-secondary"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<TabView>
|
<TabView>
|
||||||
|
|
Loading…
Reference in New Issue