Skip to content

Commit

Permalink
fix: 🐛 修复USB未授权设备导致无线连接地址变为假值的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
viarotel committed Oct 13, 2023
1 parent 3128f3c commit 9c25325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/src/components/Devices/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9c25325

Please sign in to comment.