1
This commit is contained in:
1 parent
83a88a4606
commit
0697efa03f
1 file changed
+4
-1
@@ -245,7 +245,10 @@ const refreshVolume = (data: { hardId: string; mediaVolume: number; systemVolume
|
|||||||
|
|
||||||
// 检修开门
|
// 检修开门
|
||||||
const checkOpenAccess = async () => {
|
const checkOpenAccess = async () => {
|
||||||
const res = await openAccess({ hardDoorId: "", cabinetNo: state.deviceDetail.cabinetList[state.curActivedDoorTabIndex].cabinetNo })
|
const res = await openAccess({
|
||||||
|
hardDoorId: state.hardId,
|
||||||
|
cabinetNo: state.deviceDetail.cabinetList[state.curActivedDoorTabIndex].cabinetNo,
|
||||||
|
})
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
useMessage().success("操作成功")
|
useMessage().success("操作成功")
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in new issue
Block a user