From b6f8586efad3fda4fed64184d712a7713b8fe243 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=A1=E5=A4=8D=E4=B9=A0?= <2353956224@qq.com> Date: Sat, 28 Feb 2026 16:13:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=80=80=E5=87=BA=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E4=B8=8D=E5=85=B3=E9=97=AD=E6=B5=8F=E8=A7=88=E5=99=A8?= =?UTF-8?q?=EF=BC=8C=E5=92=8C=E5=88=A0=E9=99=A4=E4=B8=BB=E6=92=AD=E7=9A=84?= =?UTF-8?q?=E8=B0=83=E7=94=A8=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/HostListDialog.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/HostListDialog.vue b/src/components/HostListDialog.vue index 31bc431..12245c4 100644 --- a/src/components/HostListDialog.vue +++ b/src/components/HostListDialog.vue @@ -120,10 +120,10 @@
-
@@ -532,7 +532,7 @@ const toggleSelect = (id) => { } const selectAll = () => { - selected.value = new Set(filteredHosts.value.map(h => h.anchorId)) + selected.value = new Set(filteredHosts.value.map(h => h.id)) } const selectNone = () => { @@ -550,7 +550,7 @@ const invertSelect = () => { const deleteSelected = async () => { if (!selected.value.size) return if (!confirm(`确认删除选中的 ${selected.value.size} 项吗?`)) return - + console.log(selected.value) if (isElectron()) { try { const ids = Array.from(selected.value)