update 环

This commit is contained in:
DESKTOP-FUDKNA8\znjsz
2024-03-21 15:18:50 +08:00
parent c2e901e4bc
commit f03cf59e73
5 changed files with 76 additions and 16 deletions

View File

@@ -98,7 +98,6 @@ function loadData(monthlyTarget) {
<p v-show="!show" class="empty-data-hint">暂无数据</p> -->
<div class="container-body__h-full">
<yield-chart
:display-placeholder="!displayProductionChart"
:key="refreshToken + '_yield_chart_linemonth'"
:raw-data="websocketData"
/>

View File

@@ -14,10 +14,10 @@ const store = useWsStore();
onMounted(() => {
// websocketData.value = loadData([
// {
// targetProduction: 120,
// nowProduction: 0,
// targetYield: 0,
// nowYield: 10,
// targetProduction: 1220,
// nowProduction: 8,
// targetYield: null,
// nowYield: null,
// },
// ]);
websocketData.value = loadData(store.data2.dailyTarget);
@@ -103,7 +103,6 @@ function loadData(dailyTarget) {
<p v-show="!show" class="empty-data-hint">暂无数据</p> -->
<div class="container-body__h-full">
<yield-chart
:display-placeholder="!displayProductionChart"
:key="refreshToken + '_yield_chart_linetoday'"
:raw-data="websocketData"
/>