!429 fix: Permissions filled in incorrectly

Merge pull request !429 from AhJindeg/hotfix/hasPermi
This commit is contained in:
芋道源码 2024-04-18 01:08:58 +00:00 committed by Gitee
commit b1c832d27f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
8 changed files with 11 additions and 11 deletions

View File

@ -80,7 +80,7 @@
plain plain
@click="handleExport" @click="handleExport"
:loading="exportLoading" :loading="exportLoading"
v-hasPermi="['infra:api-error-log:export']" v-hasPermi="['infra:api-access-log:export']"
> >
<Icon icon="ep:download" class="mr-5px" /> 导出 <Icon icon="ep:download" class="mr-5px" /> 导出
</el-button> </el-button>

View File

@ -96,7 +96,7 @@
link link
type="danger" type="danger"
@click="handleDelete(scope.row.id)" @click="handleDelete(scope.row.id)"
v-hasPermi="['infra:config:delete']" v-hasPermi="['infra:file:delete']"
> >
删除 删除
</el-button> </el-button>

View File

@ -107,7 +107,7 @@
link link
type="danger" type="danger"
@click="handleDelete(scope.row.id)" @click="handleDelete(scope.row.id)"
v-hasPermi="['infra:config:delete']" v-hasPermi="['infra:file-config:delete']"
> >
删除 删除
</el-button> </el-button>

View File

@ -47,7 +47,7 @@
plain plain
@click="handleExport" @click="handleExport"
:loading="exportLoading" :loading="exportLoading"
v-hasPermi="['infra:config:export']" v-hasPermi="['infra:login-log:export']"
> >
<Icon icon="ep:download" class="mr-5px" /> 导出 <Icon icon="ep:download" class="mr-5px" /> 导出
</el-button> </el-button>
@ -85,7 +85,7 @@
link link
type="primary" type="primary"
@click="openDetail(scope.row)" @click="openDetail(scope.row)"
v-hasPermi="['infra:config:query']" v-hasPermi="['infra:login-log:query']"
> >
详情 详情
</el-button> </el-button>

View File

@ -10,7 +10,7 @@
type="primary" type="primary"
plain plain
@click="openForm('create')" @click="openForm('create')"
v-hasPermi="['system:mail-account:create']" v-hasPermi="['system:mail-template:create']"
> >
<Icon icon="ep:plus" class="mr-5px" /> 新增 <Icon icon="ep:plus" class="mr-5px" /> 新增
</el-button> </el-button>

View File

@ -80,7 +80,7 @@
plain plain
@click="handleExport" @click="handleExport"
:loading="exportLoading" :loading="exportLoading"
v-hasPermi="['infra:config:export']" v-hasPermi="['infra:operate-log:export']"
> >
<Icon icon="ep:download" class="mr-5px" /> 导出 <Icon icon="ep:download" class="mr-5px" /> 导出
</el-button> </el-button>
@ -111,7 +111,7 @@
link link
type="primary" type="primary"
@click="openDetail(scope.row)" @click="openDetail(scope.row)"
v-hasPermi="['infra:config:query']" v-hasPermi="['infra:operate-log:query']"
> >
详情 详情
</el-button> </el-button>

View File

@ -50,7 +50,7 @@
plain plain
@click="handleExport" @click="handleExport"
:loading="exportLoading" :loading="exportLoading"
v-hasPermi="['infra:post:export']" v-hasPermi="['system:post:export']"
> >
<Icon icon="ep:download" class="mr-5px" /> 导出 <Icon icon="ep:download" class="mr-5px" /> 导出
</el-button> </el-button>

View File

@ -119,7 +119,7 @@
<el-table-column align="center" label="操作"> <el-table-column align="center" label="操作">
<template #default="scope"> <template #default="scope">
<el-button <el-button
v-hasPermi="['infra:config:update']" v-hasPermi="['infra:sensitive-word:update']"
link link
type="primary" type="primary"
@click="openForm('update', scope.row.id)" @click="openForm('update', scope.row.id)"
@ -127,7 +127,7 @@
编辑 编辑
</el-button> </el-button>
<el-button <el-button
v-hasPermi="['infra:config:delete']" v-hasPermi="['infra:sensitive-word:delete']"
link link
type="danger" type="danger"
@click="handleDelete(scope.row.id)" @click="handleDelete(scope.row.id)"