delete:删除冗余

This commit is contained in:
JaguarJack
2021-04-03 10:35:53 +08:00
parent 0bbb39696b
commit 6630058508
9 changed files with 14 additions and 122 deletions

View File

@@ -25,8 +25,8 @@ class Department extends CatchTable
HeaderItem::label('状态')->prop('status')->withSwitchComponent(),
HeaderItem::label('创建时间')->prop('created_at'),
HeaderItem::label('操作')->width(260)->actions([
Actions::update(''),
Actions::delete(''),
Actions::update(),
Actions::delete(),
])
])->withApiRoute('departments')->withActions([
Actions::create()