提交 e2acce4d authored 作者: lihuihui's avatar lihuihui

update

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