多sheet 一定要县创建sheet
foreach ($alias_name as $ca) {
if ($sheet > 0) {
$objExcel->createSheet(); // 创建sheet
}
$objExcel->setActiveSheetIndex($sheet);
$objExcel->getActiveSheet()->setTitle($result['alias_name'][$ca]);
$objActSheet = $objExcel->getActiveSheet();
$objActSheet->getDefaultRowDimension()->setRowHeight(30);
$sheet++;
}