* adjust for import case use csv.

This commit is contained in:
wangyidong
2018-10-12 15:27:05 +08:00
parent e179c99ebc
commit d68a97ec12
+1 -1
View File
@@ -1297,7 +1297,7 @@ class testcase extends control
$columnKey[] = $fields[$title];
}
if(count($columnKey) == 0 or $this->post->encode != 'utf-8')
if(count($columnKey) <= 3 or $this->post->encode != 'utf-8')
{
$fc = file_get_contents($fileName);
$encode = $this->post->encode != "utf-8" ? $this->post->encode : 'gbk';