只取时间
This commit is contained in:
parent
938739e8c2
commit
7cc8b37d5d
@ -289,7 +289,9 @@ export default class Chat {
|
|||||||
color: '#888',
|
color: '#888',
|
||||||
fontSize: '12px',
|
fontSize: '12px',
|
||||||
},
|
},
|
||||||
textContent: `${redate(data.time)}`
|
//textContent: `${redate(data.time)}`
|
||||||
|
// 只取时间, 不要秒
|
||||||
|
textContent: `${data.time.split(' ')[1].split(':')[0]}:${data.time.split(' ')[1].split(':')[1]}`
|
||||||
}),
|
}),
|
||||||
Button({
|
Button({
|
||||||
style: {
|
style: {
|
||||||
|
Loading…
Reference in New Issue
Block a user