update cms

This commit is contained in:
JaguarJack
2021-05-26 18:37:00 +08:00
parent d97b5f62ee
commit 9252c3d537
11 changed files with 268 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ use catcher\CatchTable;
use catchAdmin\cms\tables\forms\Factory;
use catcher\library\table\Actions;
use catcher\library\table\HeaderItem;
use catcher\library\table\Search;
class Articles extends CatchTable
{
@@ -36,6 +37,10 @@ class Articles extends CatchTable
Actions::delete()
])
])
->withSearch([
Search::input('category', '栏目名称')->clearable(true),
Search::input('title', '文章标题')->clearable(true),
])
->withBind()
->withApiRoute('cms/articles')
->withActions([