Skip to content

Commit b1c832d

Browse files
YunaiVgitee-org
authored andcommitted
!429 fix: Permissions filled in incorrectly
Merge pull request !429 from AhJindeg/hotfix/hasPermi
2 parents 2512253 + ac6618a commit b1c832d

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

src/views/infra/apiAccessLog/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
plain
8181
@click="handleExport"
8282
:loading="exportLoading"
83-
v-hasPermi="['infra:api-error-log:export']"
83+
v-hasPermi="['infra:api-access-log:export']"
8484
>
8585
<Icon icon="ep:download" class="mr-5px" /> 导出
8686
</el-button>

src/views/infra/file/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
link
9797
type="danger"
9898
@click="handleDelete(scope.row.id)"
99-
v-hasPermi="['infra:config:delete']"
99+
v-hasPermi="['infra:file:delete']"
100100
>
101101
删除
102102
</el-button>

src/views/infra/fileConfig/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
link
108108
type="danger"
109109
@click="handleDelete(scope.row.id)"
110-
v-hasPermi="['infra:config:delete']"
110+
v-hasPermi="['infra:file-config:delete']"
111111
>
112112
删除
113113
</el-button>

src/views/system/loginlog/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
plain
4848
@click="handleExport"
4949
:loading="exportLoading"
50-
v-hasPermi="['infra:config:export']"
50+
v-hasPermi="['infra:login-log:export']"
5151
>
5252
<Icon icon="ep:download" class="mr-5px" /> 导出
5353
</el-button>
@@ -85,7 +85,7 @@
8585
link
8686
type="primary"
8787
@click="openDetail(scope.row)"
88-
v-hasPermi="['infra:config:query']"
88+
v-hasPermi="['infra:login-log:query']"
8989
>
9090
详情
9191
</el-button>

src/views/system/mail/template/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
type="primary"
1111
plain
1212
@click="openForm('create')"
13-
v-hasPermi="['system:mail-account:create']"
13+
v-hasPermi="['system:mail-template:create']"
1414
>
1515
<Icon icon="ep:plus" class="mr-5px" /> 新增
1616
</el-button>

src/views/system/operatelog/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
plain
8181
@click="handleExport"
8282
:loading="exportLoading"
83-
v-hasPermi="['infra:config:export']"
83+
v-hasPermi="['infra:operate-log:export']"
8484
>
8585
<Icon icon="ep:download" class="mr-5px" /> 导出
8686
</el-button>
@@ -111,7 +111,7 @@
111111
link
112112
type="primary"
113113
@click="openDetail(scope.row)"
114-
v-hasPermi="['infra:config:query']"
114+
v-hasPermi="['infra:operate-log:query']"
115115
>
116116
详情
117117
</el-button>

src/views/system/post/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
plain
5151
@click="handleExport"
5252
:loading="exportLoading"
53-
v-hasPermi="['infra:post:export']"
53+
v-hasPermi="['system:post:export']"
5454
>
5555
<Icon icon="ep:download" class="mr-5px" /> 导出
5656
</el-button>

src/views/system/sensitiveWord/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,15 +119,15 @@
119119
<el-table-column align="center" label="操作">
120120
<template #default="scope">
121121
<el-button
122-
v-hasPermi="['infra:config:update']"
122+
v-hasPermi="['infra:sensitive-word:update']"
123123
link
124124
type="primary"
125125
@click="openForm('update', scope.row.id)"
126126
>
127127
编辑
128128
</el-button>
129129
<el-button
130-
v-hasPermi="['infra:config:delete']"
130+
v-hasPermi="['infra:sensitive-word:delete']"
131131
link
132132
type="danger"
133133
@click="handleDelete(scope.row.id)"

0 commit comments

Comments
 (0)