fix(conversations): 优化列表时间显示

This commit is contained in:
Rogee
2026-08-06 11:31:14 +08:00
parent 8d002d1dbe
commit 3bceb2d0b2
2 changed files with 18 additions and 1 deletions
@@ -13,6 +13,8 @@ const chineseShortTimestamp = timestamp => {
.replace(/^(\d+)y$/, '$1年');
};
export { chineseShortTimestamp };
import { zhCN } from 'date-fns/locale';
import {
dynamicTime,
@@ -151,7 +153,7 @@ export default {
content: tooltipText,
delay: { show: 1000, hide: 0 },
}"
class="ml-auto leading-4 text-xxs text-n-slate-10 hover:text-n-slate-11"
class="ml-auto whitespace-nowrap leading-4 text-xxs text-n-slate-10 hover:text-n-slate-11"
>
<span>{{ `${createdAtTime} • ${lastActivityTime}` }}</span>
</div>