From ed2629cb08b9bca4eedcd260716899db3836b1d9 Mon Sep 17 00:00:00 2001 From: nite Date: Sat, 7 Feb 2026 14:22:52 +0800 Subject: [PATCH] upgrade wails runtime --- frontend/src/components/PeerCard.vue | 10 +- go.mod | 105 ++++++++++- go.sum | 266 ++++++++++++++++++++++++++- 3 files changed, 374 insertions(+), 7 deletions(-) diff --git a/frontend/src/components/PeerCard.vue b/frontend/src/components/PeerCard.vue index f0eade7..6bdb36c 100644 --- a/frontend/src/components/PeerCard.vue +++ b/frontend/src/components/PeerCard.vue @@ -88,6 +88,10 @@ const osIcon = computed(() => { } }); +const showMismatch = computed(() => { + return props.peer.trust_mismatch && isTrusted.value; +}); + // --- 监听 --- watch( ips, @@ -163,8 +167,6 @@ const handleTrust = () => { const handleUntrust = () => { RemoveTrust(props.peer.id); isTrusted.value = false; - - props.peer.trust_mismatch = false; }; @@ -222,7 +224,7 @@ const handleUntrust = () => { {