diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index c454b5f..fc9bcb8 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -689,10 +689,10 @@ export default { return deviceParam.vibrationAcceleration || deviceParam.VibrationAcceleration case 5: // 振动-温度(℃) return deviceParam.vibrationTemp || deviceParam.VibrationTemp - case 6: // 照度 - return deviceParam.illuminance - case 7: // 噪声 + case 6: // 噪音 return deviceParam.noise + case 7: // 照度 + return deviceParam.illuminance case 8: // 气体浓度 return deviceParam.concentration default: @@ -761,8 +761,8 @@ export default { 3: '振动-位移(um)', 4: '振动-加速度(g)', 5: '振动-温度(℃)', - 6: '照度', - 7: '噪声', + 6: '噪音', + 7: '照度', 8: '气体浓度' } return fieldMap[fieldCode] || '未知字段' diff --git a/src/views/index.vue b/src/views/index.vue index aa56ff1..692b44d 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -651,10 +651,10 @@ export default { return deviceParam.vibrationAcceleration || deviceParam.VibrationAcceleration case 5: // 振动-温度(℃) return deviceParam.vibrationTemp || deviceParam.VibrationTemp - case 6: // 照度 - return deviceParam.illuminance - case 7: // 噪声 + case 6: // 噪音 return deviceParam.noise + case 7: // 照度 + return deviceParam.illuminance case 8: // 气体浓度 return deviceParam.concentration default: @@ -672,8 +672,8 @@ export default { 3: '振动-位移(um)', 4: '振动-加速度(g)', 5: '振动-温度(℃)', - 6: '照度', - 7: '噪声', + 6: '噪音', + 7: '照度', 8: '气体浓度' } return fieldMap[fieldCode] || '未知字段'