feat: 增加权限筛选条件

This commit is contained in:
Zero
2024-05-01 08:06:50 +08:00
parent d3a3e62d9b
commit d91fdd1205

View File

@@ -91,6 +91,7 @@ func (p *Permission) Fields(ctx *builder.Context) []interface{} {
func (p *Permission) Searches(ctx *builder.Context) []interface{} {
return []interface{}{
searches.Input("name", "名称"),
searches.Input("path", "路径"),
}
}