diff --git a/vue/src/views/iot/device/index.vue b/vue/src/views/iot/device/index.vue
index 891c486d..9c44d8a9 100644
--- a/vue/src/views/iot/device/index.vue
+++ b/vue/src/views/iot/device/index.vue
@@ -120,32 +120,28 @@
-
- {{ $t('device.device-edit.148398-4') }}:
-
- {{ item.productName || '---' }}
-
-
+ {{ $t('device.device-edit.148398-4') }}
+
+ {{ item.productName || '---' }}
+
-
- {{ $t('device.device-edit.148398-7') }}:
-
- {{ item.serialNumber || '---' }}
-
-
+ {{ $t('device.device-edit.148398-7') }}
+
+ {{ item.serialNumber || '---' }}
+
- {{ $t('product.product-edit.473153-14') }}:{{ item.transport }}
+ {{ $t('product.product-edit.473153-14') }}
+
+ {{ item.transport }}
+
-
-
- {{ $t('device.index.105953-23') }}:
-
- {{ item.protocolCode || '--' }}
-
-
+ {{ $t('device.index.105953-23') }}
+
+ {{ item.protocolCode || '--' }}
+
@@ -575,16 +571,23 @@ export default {
.info-row {
display: flex;
flex-direction: column;
+ min-width: 0;
.info-label {
font-size: 12px;
color: #909399;
margin-bottom: 4px;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
.info-value {
font-size: 13px;
color: #606266;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
}
}