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