feat: 补充全局自定义权限指令
This commit is contained in:
@@ -79,7 +79,9 @@
|
||||
<a-row>
|
||||
<a-col :span="8" class="tree">
|
||||
<a-space wrap style="margin-bottom: 16px; justify-content: flex-start">
|
||||
<ns-button type="primary" @click="rolePipe(addUser, true)"> 新增角色 </ns-button>
|
||||
<ns-button v-auth="'userAdd'" type="primary" @click="rolePipe(addUser, true)">
|
||||
新增角色
|
||||
</ns-button>
|
||||
<ns-button type="primary" @click="rolePipe(addUserSon)">新增子角色</ns-button>
|
||||
<ns-button type="primary" @click="rolePipe(deleteUser)"> 删除 </ns-button>
|
||||
</a-space>
|
||||
|
Reference in New Issue
Block a user