* [bug#55610,done,0.7h] import selected default values for radio and checkbox control.

This commit is contained in:
tianshujie
2025-01-03 09:41:35 +08:00
committed by 刘梦艺
parent ab05d1f307
commit ab4fc049ef
+1 -1
View File
@@ -731,7 +731,7 @@ class transferModel extends model
/* 如果字段是下拉字段并且在excel里不是下拉框的形式时,根据fieldList->value查找value。*/
/* If the field is a dropdown field and the value in excel is not a dropdown box, the value is found by fieldList->value. */
if(!in_array($control, array('select', 'multiple', 'picker'))) continue;
if(!in_array($control, array('select', 'multiple', 'picker', 'radioList', 'checkList'))) continue;
$rows[$key]->$field = $this->transferTao->extractElements((string) $cellValue, $field, $fieldList[$field]['items']);
}
}