Commit ddafd071 authored by 汪欢's avatar 汪欢

1

parent 4e5fd39e
......@@ -375,7 +375,7 @@ Page({
let month = new Date(parseInt(createTime)).getMonth() + 1;
let date = new Date(parseInt(createTime)).getDate();
month = month < 10 ? ('0' + month) : month;
date = month < 10 ? ('0' + date) : date;
date = date < 10 ? ('0' + date) : date;
item.monthDate = month + '月' + date + '日';
console.log(item.monthDate, 'time')
}
......
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