* Fix bug for json_encode use.

This commit is contained in:
songchenxuan
2023-11-13 10:00:04 +08:00
parent a4aed31d05
commit 5fde22879c
+1 -1
View File
@@ -358,7 +358,7 @@ class screenModel extends model
*/
public function getAxisRotateOption($chart, $component)
{
$settings = json_decode($chart->settings)[0];
$settings = json_decode($chart->settings[0]);
$component->chartConfig->xAxis = new stdclass();
$component->chartConfig->yAxis = new stdclass();