bug优化
This commit is contained in:
@@ -26,7 +26,7 @@ export struct ItemCompPublic {
|
||||
.fontColor($r('app.color.top_title'))
|
||||
.layoutWeight(1)
|
||||
Text(this.item.createDate ?
|
||||
this.item.createDate.length > 16 ? this.item.createDate.substring(1, 16) : this.item.createDate : '')
|
||||
this.item.createDate.length > 16 ? this.item.createDate.substring(0, 16) : this.item.createDate : '')
|
||||
.fontSize(15).fontColor($r('app.color.top_title')).padding({ left: 5 })
|
||||
Text(this.unreadCount>100?'...':this.unreadCount+'')
|
||||
.width(18)
|
||||
|
||||
Reference in New Issue
Block a user