mirror of https://gitee.com/karson/fastadmin.git
修复函数参数错误的默认值,从空字符串改为空数组
parent
ae89ff37a3
commit
6abc58a2d5
|
|
@ -1251,7 +1251,7 @@ EOD;
|
||||||
$output->info("Build Successed");
|
$output->info("Build Successed");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function getEnum(&$getEnum, &$controllerAssignList, $field, $itemArr = '', $inputType = '')
|
protected function getEnum(&$getEnum, &$controllerAssignList, $field, $itemArr = [], $inputType = '')
|
||||||
{
|
{
|
||||||
if (!in_array($inputType, ['datetime', 'select', 'multiple', 'checkbox', 'radio'])) {
|
if (!in_array($inputType, ['datetime', 'select', 'multiple', 'checkbox', 'radio'])) {
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue