fix(frontend): fix the bug of autoRefresh (#27)

Fix the bug that autoRefresh fails after switching back to log from rule.
This commit is contained in:
Li4n0
2021-06-11 23:59:23 +08:00
committed by GitHub
parent f7be2bc2e6
commit d1013c2416
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ export default {
isLogMode(val) {
if (!val && this.timer) {
clearInterval(this.timer)
} else if (this.autoRefresh && !this.timer) {
} else if (this.autoRefresh) {
this.timing()
}
},