Merge pull request #534 from vikas5914/patch-2
Replace clearRefreshInterval with stopRefreshInterval
This commit is contained in:
commit
6d8e8926d2
|
|
@ -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