优化 excel

This commit is contained in:
JaguarJack
2020-05-25 19:55:25 +08:00
parent 2074c1f65d
commit c04530a1be
2 changed files with 32 additions and 6 deletions

View File

@@ -52,6 +52,19 @@ trait MacroExcel
}
}
/**
* before
*
* @time 2020年05月25日
* @return void
*/
protected function before()
{
if (method_exists($this->excel, 'before')) {
$this->excel->before();
}
}
/**
* 设置 column 信息 ['A', 'B', 'C' ...]
*