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:
wolfcode
2024-08-21 14:15:07 +08:00
parent c3a6118387
commit 0708435d91

View File

@@ -194,7 +194,7 @@ class BuildCurd
* 开关组件字段
* @var array
*/
protected array $switchFields = ['status'];
protected array $switchFields = [];
/**
* 下拉选择字段