mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-15 02:57:10 +08:00
优化:优化表格操作列功能权限处理,即当所有操作按钮均没有权限时,移除操作列
This commit is contained in:
@@ -152,7 +152,11 @@
|
||||
<a-table-column title="描述" data-index="description" />
|
||||
<a-table-column title="创建人" data-index="createUserString" />
|
||||
<a-table-column title="创建时间" data-index="createTime" />
|
||||
<a-table-column title="操作" align="center">
|
||||
<a-table-column
|
||||
v-if="checkPermission(['system:role:update', 'system:role:delete'])"
|
||||
title="操作"
|
||||
align="center"
|
||||
>
|
||||
<template #cell="{ record }">
|
||||
<a-button
|
||||
v-permission="['system:role:update']"
|
||||
|
Reference in New Issue
Block a user