Skip to content

Commit 8eb8748

Browse files
committed
重构:基础设施 -> 数据源配置功能 权限标识
1 parent 6359ffe commit 8eb8748

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/views/infra/dataSourceConfig/index.vue

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
<!-- 搜索工作栏 -->
44
<el-form :inline="true" label-width="68px">
55
<el-form-item>
6-
<el-button type="primary" @click="openModal('create')" v-hasPermi="['infra:config:create']">
6+
<el-button
7+
type="primary"
8+
@click="openModal('create')"
9+
v-hasPermi="['infra:data-source-config:create']"
10+
>
711
<Icon icon="ep:plus" class="mr-5px" /> 新增
812
</el-button>
913
</el-form-item>
@@ -28,15 +32,15 @@
2832
link
2933
type="primary"
3034
@click="openModal('update', scope.row.id)"
31-
v-hasPermi="['infra:config:update']"
35+
v-hasPermi="['infra:data-source-config:update']"
3236
>
3337
编辑
3438
</el-button>
3539
<el-button
3640
link
3741
type="danger"
3842
@click="handleDelete(scope.row.id)"
39-
v-hasPermi="['infra:config:delete']"
43+
v-hasPermi="['infra:data-source-config:delete']"
4044
>
4145
删除
4246
</el-button>

0 commit comments

Comments
 (0)