* Fix bug for saveAs.

This commit is contained in:
songchenxuan
2024-02-06 15:18:35 +08:00
parent c031e8e377
commit cd1f61b2de
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1185,7 +1185,7 @@ class screenModel extends model
break;
}
if($sql and $field and in_array($type, array('user', 'product', 'project', 'execution', 'dept', 'project.status', 'option', 'object')))
if($sql and $field and $saveAs and in_array($type, array('user', 'product', 'project', 'execution', 'dept', 'project.status', 'option', 'object')))
{
$options = $this->getOptionsFromSql($sql, $field, $saveAs);
}