update chart
This commit is contained in:
@@ -102,13 +102,16 @@ function loadData(dailyTarget) {
|
||||
></div>
|
||||
<p v-show="!show" class="empty-data-hint">暂无数据</p> -->
|
||||
<div class="container-body__h-full">
|
||||
<yield-chart v-if="displayProductionChart" :raw-data="websocketData" />
|
||||
<yield-chart
|
||||
:display-placeholder="!displayProductionChart"
|
||||
:raw-data="websocketData"
|
||||
/>
|
||||
<rate-chart
|
||||
v-if="displayRateChart"
|
||||
:display-placeholder="!displayRateChart"
|
||||
:raw-data="websocketData"
|
||||
:isOnlyChild="!displayProductionChart"
|
||||
/>
|
||||
<p
|
||||
<!-- <p
|
||||
v-if="!displayProductionChart && !displayRateChart"
|
||||
style="
|
||||
height: 100%;
|
||||
@@ -121,7 +124,7 @@ function loadData(dailyTarget) {
|
||||
"
|
||||
>
|
||||
暂无数据
|
||||
</p>
|
||||
</p> -->
|
||||
</div>
|
||||
</Container>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user