fix : 修复数据loading加载
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div id="used-ele" :style="{ backgroundColor: bgImage }" @click="handleOpenChart">
|
||||
<div v-if="electricityConsumptionMonthly===0||monthlySavings===0" class="showNull ">
|
||||
<div v-if="electricityConsumptionMonthly===0&&monthlySavings===0" class="showNull ">
|
||||
<div class="loading" v-if="loading===0"></div>
|
||||
{{ loading === 0 ? '加载中...' : '暂无数据~' }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user