diff --git a/sgzb-ui/src/views/iotDevice/index.vue b/sgzb-ui/src/views/iotDevice/index.vue index fc2910bb..9bf9de84 100644 --- a/sgzb-ui/src/views/iotDevice/index.vue +++ b/sgzb-ui/src/views/iotDevice/index.vue @@ -333,7 +333,7 @@ export default { this.addDeviceParams.iotId = row.iotId this.addDeviceParams.iotCode = row.iotCode this.addDeviceParams.iotStatus = row.iotStatus - this.addDeviceParams.iotType = parseInt(row.iotType) + this.addDeviceParams.iotType = row.iotType } this.dialogConfig.outerWidth = '40%' this.dialogConfig.outerVisible = true