* Fix caselib showimport required bug. the bug #43102.

This commit is contained in:
wangyuting
2024-01-04 16:52:41 +08:00
parent b97258afd5
commit ac4549c16c
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -303,6 +303,8 @@ class caselibModel extends model
}
$this->dao->commit();
if(dao::isError()) return false;
if($data->isEndPage)
{
if($this->session->fileImport) @unlink($this->session->fileImport);
+2
View File
@@ -58,6 +58,7 @@ else
'label' => $lang->testcase->module,
'control' => 'picker',
'items' => $modules,
'required' => true,
'width' => '200px'
);
@@ -67,6 +68,7 @@ else
'label' => $lang->testcase->type,
'control' => 'picker',
'items' => $lang->testcase->typeList,
'required' => true,
'width' => '160px'
);