提交 90a8abcb 编写于 作者: G gongfuxiang

excel导入空格处理

上级 ac3054e7
......@@ -204,7 +204,7 @@ class Excel
} else {
if(!empty($field))
{
$info[$field[$col]['field']] = ($field[$col]['type'] == 'int') ? ScienceNumToString($value) : $value;
$info[$field[$col]['field']] = ($field[$col]['type'] == 'int') ? trim(ScienceNumToString($value)) : trim($value);
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册