调整文章

This commit is contained in:
2021-03-30 09:44:47 +08:00
parent ef4a3292a4
commit 5e1c402087

View File

@@ -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;