emq管理的权限控制调整

This commit is contained in:
kerwincui
2022-05-13 13:43:50 +08:00
parent 881bc88f5c
commit 747eac3879
4 changed files with 5 additions and 5 deletions

View File

@@ -43,7 +43,7 @@
<el-table-column label="会话创建时间" align="center" prop="created_at" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="150">
<template slot-scope="scope">
<el-button size="small" type="danger" v-if="scope.row.connected" style="padding: 5px" v-hasPermi="['monitor:client:edit']" @click="handleDelete(scope.row)">
<el-button size="small" type="danger" v-if="scope.row.connected" style="padding: 5px" v-hasPermi="['iot:product:remove']" @click="handleDelete(scope.row)">
<svg-icon icon-class="disconnect" /> 断开连接
</el-button>
</template>