新增 preview 组件 & table 的excel 操作设置默认值
This commit is contained in:
@@ -211,7 +211,7 @@ class Table
|
||||
* @param string $usedModel
|
||||
* @return $this
|
||||
*/
|
||||
public function withUsedModelAndExcel(string $usedModel, array $excel): Table
|
||||
public function withUsedModelAndExcel(string $usedModel, array $excel = []): Table
|
||||
{
|
||||
foreach ($excel as $e) {
|
||||
$this->excel[] = $e->render();
|
||||
|
Reference in New Issue
Block a user