Parcourir la source

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

yanglzh il y a 3 mois
Parent
commit
2ea2c41ad3
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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();