This commit is contained in:
zhangyu
2022-01-26 18:34:51 +08:00
7 changed files with 74 additions and 42 deletions

View File

@@ -213,6 +213,8 @@ export default {
if (chartParams && chartParams.dataKey) {
if (response.data.result && (response.data.result[chartParams.dataKey] || response.data.result[chartParams.dataKey] === 0)) {
this.chartData = response.data.result[chartParams.dataKey]
} else {
this.chartData = null
}
}
}