From 7b2a949dba205c4517622b3f9eb8bf0294019a8a Mon Sep 17 00:00:00 2001 From: jingrow Date: Mon, 4 Aug 2025 21:22:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=9A=84=E5=9F=9F=E5=90=8D?= =?UTF-8?q?=E8=A7=A3=E6=9E=90=E8=AE=B0=E5=BD=95=E6=98=BE=E7=A4=BA=E5=9C=A8?= =?UTF-8?q?=E6=9C=80=E5=89=8D=E9=9D=A2=E4=B8=94=E4=B8=8D=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=BA=8F=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dashboard/src2/components/JsiteDomainDNSRecords.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dashboard/src2/components/JsiteDomainDNSRecords.vue b/dashboard/src2/components/JsiteDomainDNSRecords.vue index 94046b6..fe61ee6 100644 --- a/dashboard/src2/components/JsiteDomainDNSRecords.vue +++ b/dashboard/src2/components/JsiteDomainDNSRecords.vue @@ -111,7 +111,7 @@ /> - {{ index + 1 }} + {{ record.isNew ? '-' : index + 1 }} @@ -467,8 +467,8 @@ export default { isNew: true }; - // 添加新记录 - this.dnsRecords.push(newRecord); + // 添加新记录到最前面 + this.dnsRecords.unshift(newRecord); }, // 编辑记录