Merge pull request #55 from jyiL/patch-5

Update AbstractController.php
This commit is contained in:
刀刀
2021-08-14 16:09:59 +08:00
committed by GitHub

View File

@@ -915,7 +915,6 @@ abstract class AbstractController extends Controller
])
&& isset($_form['options'])) {
$_form['type'] = 'select';
unset($_form['value']);
$options_labels = array_column($_form['options'], 'label');
if (!isset($_form['props']['selectApi']) && !in_array('全部', $options_labels)) {
array_unshift($_form['options'], [