refactor:修改版本检查时间为5分钟一次
This commit is contained in:
parent
8ef2d9923b
commit
fb9cc32322
@ -35,7 +35,7 @@ export default {
|
|||||||
await this.$store.dispatch("treeData/init");
|
await this.$store.dispatch("treeData/init");
|
||||||
console.log("treeData加载完毕");
|
console.log("treeData加载完毕");
|
||||||
console.log("state数据:", this.$store.state);
|
console.log("state数据:", this.$store.state);
|
||||||
this.timer = setInterval(this.checkVersion, 60 * 1000);
|
this.timer = setInterval(this.checkVersion, 5 * 60 * 1000);
|
||||||
},
|
},
|
||||||
destroyed() {
|
destroyed() {
|
||||||
if (this.timer != null) {
|
if (this.timer != null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user