mirror of https://gitee.com/karson/fastadmin.git
update application/common/library/SelectPage.php.
$selectpageFields如果是字符串 并且有空格的时候 无法匹配 protected $selectpageFields = 'id, username,nickname'; Signed-off-by: 御宅男(YznCMS官方) <530765310@qq.com>pull/526/head
parent
542771bbf8
commit
b7b5d9abf2
|
|
@ -440,7 +440,7 @@ class SelectPage
|
|||
return $this->selectpageFields;
|
||||
}
|
||||
if ($this->selectpageFields && $this->selectpageFields !== '*') {
|
||||
return explode(',', $this->selectpageFields);
|
||||
return array_map('trim', explode(',', $this->selectpageFields));
|
||||
}
|
||||
return [];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue