timerClose

This commit is contained in:
shijing 2021-11-02 16:26:30 +08:00
parent 7be9e553f1
commit 5d21ebd3fc
1 changed files with 2 additions and 2 deletions

View File

@ -67,13 +67,13 @@ export default {
if (hasToken) { if (hasToken) {
this.$store.dispatch("user/getCount", {}); this.$store.dispatch("user/getCount", {});
} }
this.timer = window.setInterval(() => { /*this.timer = window.setInterval(() => {
setTimeout(() => { setTimeout(() => {
if (hasToken) { if (hasToken) {
this.$store.dispatch("user/getCount", {}); this.$store.dispatch("user/getCount", {});
} }
},0) },0)
},5000) },5000)*/
}, },
methods: { methods: {
handleClickOutside() { handleClickOutside() {