update:更新路由注释,编辑器可追踪
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
<?php
|
||||
|
||||
/* @var think\Route $router */
|
||||
|
||||
$router->group(function () use ($router){
|
||||
// 角色
|
||||
$router->resource('roles', '\catchAdmin\permissions\controller\Role');
|
||||
|
@@ -20,8 +20,8 @@ class Job extends CatchTable
|
||||
HeaderItem::label('状态')->prop('status')->withSwitchComponent(),
|
||||
HeaderItem::label('创建时间')->prop('created_at'),
|
||||
HeaderItem::label('操作')->width(250)->actions([
|
||||
Actions::update(),
|
||||
Actions::delete()
|
||||
Actions::update(''),
|
||||
Actions::delete('')
|
||||
])
|
||||
])
|
||||
->withActions([
|
||||
|
@@ -20,8 +20,8 @@ class Permission extends CatchTable
|
||||
HeaderItem::label('状态')->prop('hidden')->component('status'),
|
||||
HeaderItem::label('创建时间')->prop('created_at'),
|
||||
HeaderItem::label('操作')->width(250)->actions([
|
||||
Actions::update(),
|
||||
Actions::delete()
|
||||
Actions::update(''),
|
||||
Actions::delete('')
|
||||
])
|
||||
])
|
||||
->withActions([
|
||||
|
Reference in New Issue
Block a user