Commit 41bca52e authored by 王源's avatar 王源 🎧

修复excel导入错误数量传入bug

parent 0e8a12b6
......@@ -138,7 +138,7 @@ class ExcelImporter
* @param $errorCount
* @throws \PhpOffice\PhpSpreadsheet\Exception
*/
public function checkNumeric($data, $errorCount)
public function checkNumeric($data, &$errorCount)
{
foreach ($data as $k => $v) {
if (!is_numeric($v)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment