v1.2.41 修复一尘看板显示真实发布者名称

This commit is contained in:
龙大 2026-04-06 16:21:47 +08:00
parent 5da876a193
commit b2b30cc54e
4 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
1.2.41
VERSION=1.2.41

View File

@ -1 +1 @@
v1.2.41
VERSION=1.2.41

View File

@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>甲辰收藏 v0.0.0</title>
<title>甲辰收藏 v1.2.41</title>
<!-- Favicon -->
<link rel="icon" type="image/png" href="/static/icons/favicon.png" />

View File

@ -473,7 +473,7 @@ export default function News() {
</div>
{/* 创建日期 + 用户名 */}
<div style={{ color: '#64748b', fontSize: '12px', marginBottom: '8px' }}>
📅 {formatDate(item.created_at)} &nbsp;|&nbsp; 👤 {item.user_name || '匿名用户'}
📅 {formatDate(item.created_at)} &nbsp;|&nbsp; 👤 {(item.content && item.content.match(/发布者: (.+)/)?.[1]) || item.user_name || '匿名用户'}
</div>
{/* 号码特征 */}
{features && (