Explorar o código

fix: 修复项目中的视频监控的解绑

yanglzh hai 3 meses
pai
achega
2ea2c41ad3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/iot/projects/detail/video.vue

+ 1 - 1
src/views/iot/projects/detail/video.vue

@@ -158,7 +158,7 @@ function onDel(row: any) {
       .unbindResources({
         projectsCode,
         resourcesTypes,
-        resourcesKey: row.ID + "-" + row.deviceId,
+        resourcesKey: row.deviceId + "-" + row.channelId,
       })
       .then(() => {
         getSourceList();