|
@@ -1,6 +1,6 @@
|
|
|
// 时间戳转换为年月日时分秒
|
|
|
export const timesTampChange = (timestamp, format = 'Y-M-D h:m:s') => {
|
|
|
- if (timestamp === -28800000) return '至今'
|
|
|
+ // if (timestamp === null) return '至今'
|
|
|
if (!timestamp) return ''
|
|
|
const date = new Date(timestamp)
|
|
|
const Y = date.getFullYear().toString()
|