From 9c25325d672a3447df21abe9bc01a7c22b440ec9 Mon Sep 17 00:00:00 2001 From: viarotel Date: Fri, 13 Oct 2023 18:45:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8DUSB?= =?UTF-8?q?=E6=9C=AA=E6=8E=88=E6=9D=83=E8=AE=BE=E5=A4=87=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E6=97=A0=E7=BA=BF=E8=BF=9E=E6=8E=A5=E5=9C=B0=E5=9D=80=E5=8F=98?= =?UTF-8?q?=E4=B8=BA=E5=81=87=E5=80=BC=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/components/Devices/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/components/Devices/index.vue b/src/renderer/src/components/Devices/index.vue index 1136f55f..ae602557 100644 --- a/src/renderer/src/components/Devices/index.vue +++ b/src/renderer/src/components/Devices/index.vue @@ -180,7 +180,7 @@ export default { this.getDeviceData() - if (type === 'add' && !isIPWithPort(ret.id)) { + if (type === 'add' && !isIPWithPort(ret.id) && ret.$host) { this.formData = { ...this.formData, host: ret.$host,