From 168f0a9adcc94426503bfd626cbcdd3b121cc371 Mon Sep 17 00:00:00 2001 From: augushong Date: Sun, 3 May 2026 22:06:57 +0800 Subject: [PATCH] fix(phone-image): remove output-manage button and fix history date display --- view/admin/post/phone_image.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view/admin/post/phone_image.html b/view/admin/post/phone_image.html index d55d4c4..df366ef 100644 --- a/view/admin/post/phone_image.html +++ b/view/admin/post/phone_image.html @@ -101,7 +101,7 @@
返回列表 - 输出管理 + {* 输出管理入口已移至历史记录弹窗 *}

{$post.title}

@@ -326,7 +326,7 @@ html += ''; for (var i = 0; i < res.data.length; i++) { var item = res.data[i]; - var timeStr = item.create_time ? new Date(item.create_time * 1000).toLocaleString('zh-CN') : '-'; + var timeStr = (item.create_time && parseInt(item.create_time, 10) > 0) ? new Date(parseInt(item.create_time, 10) * 1000).toLocaleString('zh-CN') : '-'; var statusText = statusMap[item.status] || '未知'; html += ''; html += '' + timeStr + '';