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