Skip to content

权限控制

权限管理说明。

权限验证

路由权限

根据用户角色过滤路由。

按钮权限

使用自定义指令:

vue
<template>
  <el-button v-permission="['user:add']">新增</el-button>
</template>

相关文档

Released under the MIT License.