修复wss连接、一些未知错误

This commit is contained in:
2026-03-28 18:58:52 +08:00
parent b66ba41431
commit 3d391415c6
8 changed files with 179 additions and 97 deletions

View File

@@ -12,6 +12,10 @@ const props = defineProps({
type: String,
required: true,
},
networkHint: {
type: String,
default: '',
},
items: {
type: Array,
required: true,
@@ -84,6 +88,7 @@ function handleDrop(event) {
<div class="connected-to">
<h2>{{ peerName }}</h2>
<p>{{ connectionType }}</p>
<small v-if="networkHint" class="connection-hint">{{ networkHint }}</small>
</div>
<button class="close-btn" type="button" @click="$emit('close')">
<LocalIcon name="close" size="20" />