fix(iot): 固件操作的权限校验

pull/878/head
YunaiV 2026-05-20 00:41:32 +08:00
parent 8ad7180c2b
commit f26c65c03f
1 changed files with 8 additions and 1 deletions

View File

@ -59,7 +59,14 @@
</el-table-column>
<el-table-column label="操作" align="center" width="120">
<template #default="scope">
<el-button link type="primary" @click="handleTaskDetail(scope.row.id)"> </el-button>
<el-button
link
type="primary"
@click="handleTaskDetail(scope.row.id)"
v-hasPermi="['iot:ota-task:query']"
>
详情
</el-button>
<el-button
v-if="scope.row.status === IoTOtaTaskStatusEnum.IN_PROGRESS.value"
link