FengR 1 месяц назад
Родитель
Сommit
00490d06c0
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/JsonRpc/PublicRpcService.php

+ 1 - 1
app/JsonRpc/PublicRpcService.php

@@ -4284,7 +4284,7 @@ class PublicRpcService implements PublicRpcServiceInterface
             // $page['template'][$key][$sector_key]['componentData'] = $result[$sectorId];
         }
         // return $canvas_data;
-        $datas['component'] = [
+        $datas['component'][0] = [
             'template_data' => $template_data,
             'canvas_data' => $canvas_data,
         ];