Cette révision appartient à :
DESKTOP-FUDKNA8\znjsz 2024-03-19 16:53:05 +08:00
Parent 43a6f59afe
révision fccd2ab9cc
2 fichiers modifiés avec 8 ajouts et 6 suppressions

Voir le fichier

@ -98,17 +98,17 @@ function loadData(monthlyTarget) {
<p v-show="!show" class="empty-data-hint">暂无数据</p> --> <p v-show="!show" class="empty-data-hint">暂无数据</p> -->
<div class="container-body__h-full"> <div class="container-body__h-full">
<yield-chart <yield-chart
v-if="displayProductionChart" :display-placeholder="!displayProductionChart"
:key="refreshToken + '_yield_chart'" :key="refreshToken + '_yield_chart_linemonth'"
:raw-data="websocketData" :raw-data="websocketData"
/> />
<rate-chart <rate-chart
v-if="displayRateChart" :display-placeholder="!displayRateChart"
:key="refreshToken + '_rate_chart'" :key="refreshToken + '_rate_chart_linemonth'"
:raw-data="websocketData" :raw-data="websocketData"
:isOnlyChild="!displayProductionChart" :isOnlyChild="!displayProductionChart"
/> />
<p <!-- <p
v-if="!displayProductionChart && !displayRateChart" v-if="!displayProductionChart && !displayRateChart"
style=" style="
height: 100%; height: 100%;
@ -121,7 +121,7 @@ function loadData(monthlyTarget) {
" "
> >
暂无数据 暂无数据
</p> </p> -->
</div> </div>
</Container> </Container>
</template> </template>

Voir le fichier

@ -104,10 +104,12 @@ function loadData(dailyTarget) {
<div class="container-body__h-full"> <div class="container-body__h-full">
<yield-chart <yield-chart
:display-placeholder="!displayProductionChart" :display-placeholder="!displayProductionChart"
:key="refreshToken + '_yield_chart_linetoday'"
:raw-data="websocketData" :raw-data="websocketData"
/> />
<rate-chart <rate-chart
:display-placeholder="!displayRateChart" :display-placeholder="!displayRateChart"
:key="refreshToken + '_rate_chart_linetoday'"
:raw-data="websocketData" :raw-data="websocketData"
:isOnlyChild="!displayProductionChart" :isOnlyChild="!displayProductionChart"
/> />