|
|
@@ -57,14 +57,14 @@ export default {
|
|
|
orgId: {
|
|
|
deep: true,
|
|
|
handler(val) {
|
|
|
- this.resetTimer();
|
|
|
+ // this.resetTimer();
|
|
|
this.getData();
|
|
|
},
|
|
|
},
|
|
|
},
|
|
|
created() {
|
|
|
- this.refreshTime = 10 * 60 * 1000;
|
|
|
- this.isMouseOver = false;
|
|
|
+ // this.refreshTime = 10 * 60 * 1000;
|
|
|
+ // this.isMouseOver = false;
|
|
|
},
|
|
|
methods: {
|
|
|
getData() {
|
|
|
@@ -73,15 +73,15 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
beforeDestroy() {
|
|
|
- this.timer && clearInterval(this.timer);
|
|
|
- this.timer = null;
|
|
|
- },
|
|
|
- resetTimer() {
|
|
|
- this.timer && clearInterval(this.timer);
|
|
|
- this.timer = setInterval(() => {
|
|
|
- this.getData();
|
|
|
- }, this.refreshTime);
|
|
|
+ // this.timer && clearInterval(this.timer);
|
|
|
+ // this.timer = null;
|
|
|
},
|
|
|
+ // resetTimer() {
|
|
|
+ // this.timer && clearInterval(this.timer);
|
|
|
+ // this.timer = setInterval(() => {
|
|
|
+ // this.getData();
|
|
|
+ // }, this.refreshTime);
|
|
|
+ // },
|
|
|
},
|
|
|
};
|
|
|
</script>
|