FastMovieAI 二开基线 v1.0 (完整源码)
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
use app\expose\build\builder\ComponentBuilder;
|
||||
|
||||
$Component = new ComponentBuilder;
|
||||
return [
|
||||
[
|
||||
'title' => '状态',
|
||||
'field' => 'state',
|
||||
'value' => 0,
|
||||
'component' => 'radio',
|
||||
'extra' => [
|
||||
'required' => true,
|
||||
'prompt' => [
|
||||
$Component->add('text', ['default' => '是否开启内置Control'], ['type' => 'info', 'size' => 'small'])
|
||||
->builder()
|
||||
],
|
||||
'options' => [
|
||||
['label' => '关闭', 'value' => 0],
|
||||
['label' => '开启', 'value' => 1]
|
||||
]
|
||||
]
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user