Commit ba80bc19 by 李伟康

修改时间

1 parent b6035776
...@@ -94,7 +94,7 @@ const couponObj = [ ...@@ -94,7 +94,7 @@ const couponObj = [
{ {
label: '发放时间', label: '发放时间',
format (item) { format (item) {
return new Date(item.issueDate).format('yyyy年MM月dd日') return item.issueDate ? new Date(item.issueDate).format('yyyy年MM月dd日') : ''
} }
} }
] ]
...@@ -137,7 +137,7 @@ export default { ...@@ -137,7 +137,7 @@ export default {
{ {
label: '领取时间', label: '领取时间',
format (item) { format (item) {
return new Date(item.receiveTime).format('yyyy年MM月dd日') return item.receiveTime ? new Date(item.receiveTime).format('yyyy年MM月dd日') : ''
} }
} }
], ],
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!