新增的域名解析记录显示在最前面且不显示序号
This commit is contained in:
parent
c53f4bf421
commit
7b2a949dba
@ -111,7 +111,7 @@
|
||||
/>
|
||||
</td>
|
||||
<td class="px-4 py-4 whitespace-nowrap text-sm text-gray-900">
|
||||
{{ index + 1 }}
|
||||
{{ record.isNew ? '-' : index + 1 }}
|
||||
</td>
|
||||
<td class="px-4 py-4 whitespace-nowrap">
|
||||
<!-- 主机名编辑 -->
|
||||
@ -467,8 +467,8 @@ export default {
|
||||
isNew: true
|
||||
};
|
||||
|
||||
// 添加新记录
|
||||
this.dnsRecords.push(newRecord);
|
||||
// 添加新记录到最前面
|
||||
this.dnsRecords.unshift(newRecord);
|
||||
},
|
||||
|
||||
// 编辑记录
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user