Commit e1e78b63 authored by Hsinli's avatar Hsinli

fix

parent 5e17380f
Pipeline #19673 passed with stage
in 1 minute 3 seconds
...@@ -39,6 +39,11 @@ class PresellHouseService extends Service { ...@@ -39,6 +39,11 @@ class PresellHouseService extends Service {
total_count: list.count, total_count: list.count,
page_size: Math.ceil(list.count / limit) page_size: Math.ceil(list.count / limit)
} }
if (ret.list.length > 0) {
for (let i in ret.list) {
ret.list[i].market = moment(ret.list[i].market).format('YYYY-MM-DD');
}
}
return ret; return ret;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment