Replace clearRefreshInterval with stopRefreshInterval
This commit is contained in:
parent
3859002a78
commit
4841b839f8
|
|
@ -261,15 +261,15 @@
|
||||||
},
|
},
|
||||||
destroyed () {
|
destroyed () {
|
||||||
if (this.refreshTicker) {
|
if (this.refreshTicker) {
|
||||||
this.clearRefreshInterval();
|
this.stopRefreshInterval();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
connected (newVal) {
|
connected (newVal) {
|
||||||
newVal ? this.startRefreshInterval() : this.clearRefreshInterval();
|
newVal ? this.startRefreshInterval() : this.stopRefreshInterval();
|
||||||
},
|
},
|
||||||
autoRefresh (newVal) {
|
autoRefresh (newVal) {
|
||||||
newVal ? this.startRefreshInterval() : this.clearRefreshInterval();
|
newVal ? this.startRefreshInterval() : this.stopRefreshInterval();
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue