fix: show error messages and update style for no data (#279)

This commit is contained in:
Fine0830
2023-06-09 21:03:51 +08:00
committed by GitHub
parent 9b1a5f7a74
commit 7738695601
2 changed files with 8 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ limitations under the License. -->
<template>
<div
v-if="!isNaN(singleVal)"
v-if="singleVal !== null && !isNaN(singleVal)"
class="chart-card"
:style="{
fontSize: `${config.fontSize}px`,