mirror of
https://gitee.com/wonderful-code/buildadmin
synced 2024-11-22 07:04:24 +00:00
fix:修复系统配置的远程下拉多选值不能正常选中的问题
This commit is contained in:
parent
c0c7c20ab3
commit
605bd6a4fe
@ -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 [];
|
||||
|
Loading…
Reference in New Issue
Block a user