Skip to content

v1.7.3: Merge pull request #3670 from z-song/analysis-zd79YJ

Compare
Choose a tag to compare
@z-song z-song released this 22 Jul 06:53
· 788 commits to master since this release
822412b

在这个版本中,有下面的修改和变更

配置

  • 增加check_route_permission配置,来控制是否检查路由权限。
  • 增加check_menu_roles配置,用来控制是否检查菜单项的可见角色。
  • 增加top_alert配置,用来在所有页面的顶部设置一个提醒栏。
  • 增加grid_action_class配置,用来指定表格的操作列显示类。

模型表格

  • 增加$grid->fixColumns($head, $tail)方法,实现表格列的固定显示。
  • 增加$grid->quickCreate()方法,实现在表格页面快速创建数据,文档
  • 重构了表格的数据操作,可以更优雅的定义行操作和批量操作,文档

In this version, there are the following changes

Configuration

  • Add check_route_permission configuration to control whether to check route permissions.
  • Added check_menu_roles configuration to control whether to check the visible role of the menu item.
  • Added top_alert configuration to set a reminder bar at the top of all pages.
  • Added grid_action_class configuration to specify the action column display class for the table.

Model grid

  • Add the $grid->fixColumns($head, $tail) method to achieve a fixed display of the table columns.
  • Add the $grid->quickCreate() method to quickly create data on the form page.
  • Refactored data actions of tables to define row actions and batch actions more elegantly.