Kaynağa Gözat

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

yanglzh 3 ay önce
ebeveyn
işleme
2ea2c41ad3
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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();