新增的域名解析记录显示在最前面且不显示序号

This commit is contained in:
jingrow 2025-08-04 21:22:55 +08:00
parent c53f4bf421
commit 7b2a949dba

View File

@ -111,7 +111,7 @@
/> />
</td> </td>
<td class="px-4 py-4 whitespace-nowrap text-sm text-gray-900"> <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-900">
{{ index + 1 }} {{ record.isNew ? '-' : index + 1 }}
</td> </td>
<td class="px-4 py-4 whitespace-nowrap"> <td class="px-4 py-4 whitespace-nowrap">
<!-- 主机名编辑 --> <!-- 主机名编辑 -->
@ -467,8 +467,8 @@ export default {
isNew: true isNew: true
}; };
// //
this.dnsRecords.push(newRecord); this.dnsRecords.unshift(newRecord);
}, },
// //