Appearance
权限管理说明。
根据用户角色过滤路由。
使用自定义指令:
<template> <el-button v-permission="['user:add']">新增</el-button> </template>