狀態: ${
+
${t("operation.status")} : ${
params.data[2].state || ""
}
`
: "";
@@ -99,6 +101,7 @@ watch(
[searchParams, () => asset_floor_chart.value, () => props.data],
([newValue, newChart, newData], [oldValue]) => {
if (newValue.floor_id && newChart && Object.keys(newData || {}).length > 0) {
+ console.log("Updating chart with new data", newValue, newChart, newData);
newChart.updateSvg(
{
full_name: newValue.floor_id,
diff --git a/src/views/dashboard/components/DashboardElectricityModal.vue b/src/views/dashboard/components/DashboardElectricityModal.vue
index 3a8517e..68415db 100644
--- a/src/views/dashboard/components/DashboardElectricityModal.vue
+++ b/src/views/dashboard/components/DashboardElectricityModal.vue
@@ -81,7 +81,7 @@ const onCancel = () => {
id="immediate_demand_add_item"
:title="t('energy.edit_automatic_demand')"
:onCancel="closeModal"
- width="400"
+ :width="400"
>