update 在线登录设备管理删除权限
This commit is contained in:
parent
bf527e5c39
commit
2fee156105
@ -17,8 +17,8 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template #default="scope">
|
||||
<el-tooltip content="强退" placement="top">
|
||||
<el-button v-hasPermi="['monitor:online:forceLogout']" link type="primary" icon="Delete" @click="handldDelOnline(scope.row)">
|
||||
<el-tooltip content="删除" placement="top">
|
||||
<el-button link type="primary" icon="Delete" @click="handldDelOnline(scope.row)">
|
||||
</el-button>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
@ -39,7 +39,7 @@ const props = defineProps({
|
||||
});
|
||||
const devices = computed(() => props.devices);
|
||||
|
||||
/** 强退按钮操作 */
|
||||
/** 删除按钮操作 */
|
||||
const handldDelOnline = (row: any) => {
|
||||
ElMessageBox.confirm('删除设备后,在该设备登录需要重新进行验证')
|
||||
.then(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user