修复无法初次加载问题

This commit is contained in:
marvzhang
2020-03-10 20:29:45 +08:00
parent c4828e6e92
commit 5339d0a4f1

View File

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