phpexcel5 问题 undefined $xfindex

if (isset($this->_mapCellXfIndex[$xfIndex])) {
$this->_phpSheet->getColumnDimensionByColumn($i)->setXfIndex($this->_mapCellXfIndex[$xfIndex]);
} else {
$this->_phpSheet->getColumnDimensionByColumn($i)->setXfIndex(current($this->_mapCellXfIndex));
}

猜你喜欢

转载自www.cnblogs.com/zhaoguangjie/p/9075813.html