删除域名解析记录组件冗余的信息

This commit is contained in:
jingrow 2025-08-03 20:35:16 +08:00
parent 2f3224eb06
commit ec5dd732dd

View File

@ -86,8 +86,8 @@
<td class="px-4 py-4 whitespace-nowrap">
<input type="checkbox" class="rounded border-gray-300" />
</td>
<td class="px-4 py-4 whitespace-nowrap text-sm font-mono text-gray-900">
{{ record.item || record.host || '@' }}
<td class="px-4 py-4 whitespace-nowrap text-sm text-gray-900">
{{ record.item }}
</td>
<td class="px-4 py-4 whitespace-nowrap">
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium"
@ -106,7 +106,7 @@
<td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">
默认
</td>
<td class="px-4 py-4 whitespace-nowrap text-sm font-mono text-gray-900 max-w-xs truncate" :title="record.value">
<td class="px-4 py-4 whitespace-nowrap text-sm text-gray-900 max-w-xs truncate" :title="record.value">
{{ record.value }}
</td>
<td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">
@ -330,7 +330,7 @@ export default {
deleteRecord(record) {
confirmDialog({
title: '删除DNS记录',
message: `确定要删除这条DNS记录吗\n类型: ${record.type}\n主机记录: ${record.item || record.host || '@'}\n记录值: ${record.value}`,
message: `确定要删除这条DNS记录吗\n类型: ${record.type}\n主机记录: ${record.item}\n记录值: ${record.value}`,
primaryAction: {
label: '删除',
variant: 'danger',