feat(switch): add 'is_show' to switch field optionsInclude 'is_show' as an option in the switchFields array to enable the use of a switch
component for toggling the visibility of fields in the admin panel's build form.
This commit is contained in:
@@ -194,7 +194,7 @@ class BuildCurd
|
||||
* 开关组件字段
|
||||
* @var array
|
||||
*/
|
||||
protected array $switchFields = ['status'];
|
||||
protected array $switchFields = [];
|
||||
|
||||
/**
|
||||
* 下拉选择字段
|
||||
|
||||
Reference in New Issue
Block a user