提交 c1fc0244 authored 作者: matian's avatar matian

Merge remote-tracking branch 'origin/vite' into vite

......@@ -120,6 +120,7 @@ export default {
},
watch: {
dataInfo() {
this.initEchart()
this.initCorrectRate()
}
}
......
......@@ -43,7 +43,11 @@ export default {
this.infoData = this.infoData.reduce((a, b) => {
a.push(
b.map(item => {
console.log(item, 'ccc')
item.key === 'status' ? (item.value = status[this.data[item.key]]) : (item.value = this.data[item.key])
if (parseInt(this.$route.query.status) === 1) {
item.key === 'updated_time' && (item.value = '-')
}
return item
})
)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论