fix:修复系统配置的远程下拉多选值不能正常选中的问题

This commit is contained in:
妙码生花 2023-05-18 11:24:33 +08:00
parent c0c7c20ab3
commit 605bd6a4fe

View File

@ -46,6 +46,8 @@ class Config extends Model
return (bool)$value;
} elseif ($row['type'] == 'editor') {
return !$value ? '' : htmlspecialchars_decode($value);
} elseif ($row['type'] == 'remoteSelect' && strpos($value, ',')) {
return explode(',', $value);
} elseif ($row['type'] == 'city') {
if ($value == '') {
return [];