doc: update data variable in getCovInfo
This commit is contained in:
1 parent
ff904dbe55
commit
ecd94adb23
1 file changed
+1
-1
@@ -46,7 +46,7 @@ export default {
|
||||
},
|
||||
created() {
|
||||
api.getCovInfo().then((res) => {
|
||||
let data = res.data[0].newslist[0].desc;
|
||||
let data = res.data[0].newslist[0].desc[0];
|
||||
this.covNews = res.data[0].newslist[0].news;
|
||||
this.covData = {
|
||||
currentConfirmedCount: data.currentConfirmedCount,
|
||||
|
||||
Reference in new issue
Block a user