fix:修复 44.100表格数据显示不正确的问题

This commit is contained in:
zhangyu
2021-06-08 13:44:39 +08:00
parent 4fccb89651
commit a886f736b5
4 changed files with 15 additions and 4 deletions

View File

@@ -470,7 +470,7 @@ export default {
if (response.data.result) {
if (chartItem.type === 'singleStat') {
if (response.data.result.length === 1) {
const statistics = chartItem.param.statistics
const statistics = chartItem.param.statistics || 'null'
if (response.data.result[0].values) {
singleStatRlt = bus.getSingleStatRlt(statistics, response.data.result[0].values)
this.noData = false