调整文章
This commit is contained in:
@@ -75,7 +75,7 @@ class IndexController extends AdminController
|
|||||||
'on' => ['value' => 1, 'text' => '打开', 'color' => 'success'],
|
'on' => ['value' => 1, 'text' => '打开', 'color' => 'success'],
|
||||||
'off' => ['value' => 0, 'text' => '关闭', 'color' => 'danger'],
|
'off' => ['value' => 0, 'text' => '关闭', 'color' => 'danger'],
|
||||||
];
|
];
|
||||||
|
$form->datetime('created_at', '发布时间');
|
||||||
$form->switch('status', '状态')->states($states);
|
$form->switch('status', '状态')->states($states);
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
|
|||||||
Reference in New Issue
Block a user