修复无法初次加载问题

This commit is contained in:
marvzhang
2020-03-10 20:29:45 +08:00
parent 5e72673ae6
commit 1e9eb8cf12

View File

@@ -179,7 +179,9 @@ export default {
}
},
async created () {
this.getData()
setTimeout(() => {
this.getData()
}, 1000)
this.handle = setInterval(() => {
this.getData()