只取时间
This commit is contained in:
@@ -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: {
|
||||||
|
Reference in New Issue
Block a user