作者 jinglong

调式导出

... ... @@ -175,7 +175,7 @@ class Free extends Backend
foreach ($expCellName as $k1=>$v1) {
$sheet->setCellValue($cellKey[$k1].($k+1+$topNumber), $v[$v1[0]]);
// $sheet->getColumnDimension($cellKey[$k1])->setWidth(20);//每列宽度
$sheet->getColumnDimension($cellKey[$k1].($k+1+$topNumber))->setWidth($v[$v1[2]]);//每列宽度
$sheet->getColumnDimension($cellKey[$k1].($k+1+$topNumber))->setWidth($v1[2]);//每列宽度
$sheet->getStyle($cellKey[$k1].($k+1+$topNumber))->applyFromArray($styleArray);
}
}
... ...