dedsudiyu 3 months ago
parent
commit
5a50d2629e
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/App.vue

+ 5 - 0
src/App.vue

@@ -64,6 +64,11 @@
                     obj.passageway = urlData.floorId;
                     obj.subIds = [urlData.subId];
                 }
+                if(urlData.source == '2'){
+                    obj.source = 2;
+                }else if (urlData.source == '5'){
+                    obj.source = 5;
+                }
                 if(urlData.type){
                     iotCameraFindByCondition(obj).then(response => {
                         if (!response.data.records[0]){