list.forEach((item) => {
const timeFormat = uni.$u.timeFormat
item.time = timeFormat(item.createTime, 'yyyy-mm-dd hh:MM:ss')
})
yyyy-mm-dd hh:MM:ss格式:
年月日:yyyy-mm-dd或者yyyy年mm月dd日
年月日时分秒:yyyy-mm-dd hh:MM:ss
list.forEach((item) => {
const timeFormat = uni.$u.timeFormat
item.time = timeFormat(item.createTime, 'yyyy-mm-dd hh:MM:ss')
})
yyyy-mm-dd hh:MM:ss格式:
年月日:yyyy-mm-dd或者yyyy年mm月dd日
年月日时分秒:yyyy-mm-dd hh:MM:ss