Commit 2c544c6e authored by miaojiale's avatar miaojiale

处理接口返回overall为null

parent d881baa7
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<el-row :gutter="20" class="data-box"> <el-row :gutter="20" class="data-box">
<el-col v-for="(item, index) in totalList" :key="index" :span="6"> <el-col v-for="(item, index) in totalList" :key="index" :span="6">
<div class="grid-content mb-12">{{ item.label }}</div> <div class="grid-content mb-12">{{ item.label }}</div>
<h1>{{ totalData[item.prop] }}</h1> <h1>{{ totalData ? totalData[item.prop] : 0 }}</h1>
</el-col> </el-col>
</el-row> </el-row>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment