mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 14:54:05 +00:00
Update NotificationDialog.vue
i hadnt saved this T_T
This commit is contained in:
parent
56b3cf412b
commit
0d2b380f44
1 changed files with 4 additions and 4 deletions
|
@ -80,6 +80,10 @@ export default {
|
||||||
components: {
|
components: {
|
||||||
Confirm,
|
Confirm,
|
||||||
},
|
},
|
||||||
|
beforeRouteLeave(to, from, next) {
|
||||||
|
this.cleanupModal();
|
||||||
|
next();
|
||||||
|
},
|
||||||
props: {},
|
props: {},
|
||||||
emits: [ "added" ],
|
emits: [ "added" ],
|
||||||
data() {
|
data() {
|
||||||
|
@ -236,10 +240,6 @@ export default {
|
||||||
beforeUnmount() {
|
beforeUnmount() {
|
||||||
this.cleanupModal();
|
this.cleanupModal();
|
||||||
},
|
},
|
||||||
beforeRouteLeave(to, from, next) {
|
|
||||||
this.cleanupModal();
|
|
||||||
next();
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue