改了一点前端显示(

This commit is contained in:
DSQ
2026-03-05 21:00:37 +08:00
parent 418cc798df
commit 193f739693
3 changed files with 38 additions and 8 deletions

View File

@@ -333,7 +333,7 @@ function renderTable(data) {
<td>
<pre style="white-space:pre-wrap; word-wrap:break-word; max-height: 100px; overflow-y: auto; font-size: 12px; margin: 0;">${escapeHtml(displayData)}</pre>
</td>
<td style="font-size: 12px;">${item.writer_id || ''}</td>
<td style="font-size: 12px;">${item.writer_name || item.writer_id || ''}</td>
<td>
<button class="btn btn-primary" onclick="openEdit('${item._id || item.id}')">编辑</button>
<button class="btn btn-danger" onclick="doDelete('${item._id || item.id}')">删除</button>