feat: 移除掉一些权限标识

This commit is contained in:
TsMask committed 2025-09-15 14:23:17 +08:00
1 parent 510e3e1006
commit 58d0e6e884
6 files changed
+54 -29

No files matched your search

+10 -4
View File
@@ -819,7 +819,11 @@ onMounted(() => {
<!-- 插槽-卡片左侧侧 -->
<template #title>
<a-flex wrap="wrap" gap="small">
<a-button type="primary" @click.prevent="fnModalVisibleByEdit()" v-perms:has="['neData:udm-auth:add']">
<a-button
type="primary"
@click.prevent="fnModalVisibleByEdit()"
v-perms:has="['neData:udm-auth:add']"
>
<template #icon>
<PlusOutlined />
</template>
@@ -858,7 +862,11 @@ onMounted(() => {
</a-button>
</a-popconfirm>
<a-button type="dashed" @click.prevent="fnModalUploadImportOpen" v-perms:has="['neData:udm-auth:import']">
<a-button
type="dashed"
@click.prevent="fnModalUploadImportOpen"
v-perms:has="['neData:udm-auth:import']"
>
<template #icon><ImportOutlined /></template>
{{ t('views.neUser.auth.import') }}
</a-button>
@@ -869,7 +877,6 @@ onMounted(() => {
ok-text="TXT"
ok-type="default"
@confirm="fnExportList('txt')"
v-if="false"
>
<a-button type="dashed" v-perms:has="['neData:udm-auth:export']">
<template #icon><ExportOutlined /></template>
@@ -896,7 +903,6 @@ onMounted(() => {
ok-type="default"
@confirm="fnRecordExport('txt')"
:disabled="tableState.selectedRowKeys.length <= 0"
v-if="false"
>
<a-button
type="default"