diff --git a/sec-beidou/src/main/resources/templates/page/gnss_msg_status.html b/sec-beidou/src/main/resources/templates/page/gnss_msg_status.html index 8e190aa3..df076dd8 100644 --- a/sec-beidou/src/main/resources/templates/page/gnss_msg_status.html +++ b/sec-beidou/src/main/resources/templates/page/gnss_msg_status.html @@ -64,7 +64,7 @@ {field: 'voltage', title: '电压(mV)'}, {field: 'solarvoltage', title: '光伏电压(mV)'}, {field: 'chargecurrency', title: '充电电流(mA)'}, - {field: 'chargewatt', title: '充电电量(Wh)', templet: "
{{d.chargewatt.toFixed(2)}}
"}, + {field: 'chargewatt', title: '充电电量(Wh)', templet: "
{{d.chargewatt==null?'':d.chargewatt.toFixed(2)}}
"}, {field: 'temperature', title: '温度(°C)'}, {field: 'humidity', title: '湿度(%)'} ];