diff --git a/hb_client/src/layout/index.vue b/hb_client/src/layout/index.vue index 2993021..a0d3695 100644 --- a/hb_client/src/layout/index.vue +++ b/hb_client/src/layout/index.vue @@ -67,13 +67,13 @@ export default { if (hasToken) { this.$store.dispatch("user/getCount", {}); } - this.timer = window.setInterval(() => { + /*this.timer = window.setInterval(() => { setTimeout(() => { if (hasToken) { this.$store.dispatch("user/getCount", {}); } },0) - },5000) + },5000)*/ }, methods: { handleClickOutside() {