* Refactor pivotModel::processPivot.

This commit is contained in:
wangxuepeng
2023-11-28 15:52:14 +08:00
parent 4192d32155
commit 8b9ebfbff2
4 changed files with 95 additions and 80 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ class screenTao extends screenModel
* @param object $component
* @return void
*/
public function setChartDefault(string $type, object $component): void
protected function setChartDefault(string $type, object $component): void
{
$chartConfig = $this->config->screen->chart->default->{$type};
foreach(get_object_vars($chartConfig) as $key => $value) $component->{$key} = $value;