fix: 🐛 修复USB未授权设备导致无线连接地址变为假值的问题

This commit is contained in:
viarotel 2023-10-13 18:45:40 +08:00
parent 3128f3cb6d
commit 9c25325d67

View File

@ -180,7 +180,7 @@ export default {
this.getDeviceData() this.getDeviceData()
if (type === 'add' && !isIPWithPort(ret.id)) { if (type === 'add' && !isIPWithPort(ret.id) && ret.$host) {
this.formData = { this.formData = {
...this.formData, ...this.formData,
host: ret.$host, host: ret.$host,