refactor: 优化系统日志、在线用户、存储管理、部门管理相关代码

This commit is contained in:
2024-04-22 23:13:35 +08:00
parent 2ddd900121
commit 2987d3eb4d
12 changed files with 57 additions and 51 deletions

View File

@@ -51,7 +51,7 @@
<a-link
v-permission="['system:storage:delete']"
status="danger"
:title="record.isDefault ? '默认存储不能删除' : undefined"
:title="record.isDefault ? '默认存储不能删除' : undefined"
:disabled="record.disabled"
@click="onDelete(record)"
>
@@ -104,9 +104,9 @@ const columns: TableInstanceColumns[] = [
title: '操作',
slotName: 'action',
width: 130,
show: has.hasPermOr(['system:storage:update', 'system:storage:delete']),
align: 'center',
fixed: !isMobile() ? 'right' : undefined
fixed: !isMobile() ? 'right' : undefined,
show: has.hasPermOr(['system:storage:update', 'system:storage:delete'])
}
]