From 73c83c68010b224d2b9cf2cc281dff9053dc7f7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E8=BE=B0=E8=BD=A9?= Date: Thu, 16 May 2024 14:26:00 +0800 Subject: [PATCH] * Fix bug for screen view. --- module/screen/model.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/module/screen/model.php b/module/screen/model.php index 8b7f3cc861..4d24bf8b76 100644 --- a/module/screen/model.php +++ b/module/screen/model.php @@ -128,9 +128,11 @@ class screenModel extends model return $scheme; } - $scheme->componentList = $this->buildComponentList($scheme->componentList); + $chartData = new stdclass(); + $chartData->editCanvasConfig = $this->config->screen->editCanvasConfig; + $chartData->componentList = $this->buildComponentList($scheme); - return $scheme; + return $chartData; } /**