Your Name 3 years ago
parent
commit
84e5452e82
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/MarkerMap/index.tsx

+ 2 - 2
src/components/MarkerMap/index.tsx

@@ -253,7 +253,7 @@ export default defineComponent({
           });
         case '单兵': {
           var callback = () => {
-               if(true){
+               if(marker['stat']==='online'){
                 mainstore.videoisshow = true;
                 // // try {
                   // daHuaStore.DAHUAUserObj(marker["userId"]).then(deviceUser=>{
@@ -709,7 +709,7 @@ export default defineComponent({
           }
 
           if (type == "单兵") { 
-            if (false) { 
+            if (i.stat && i.stat==='offline') { 
                nextImage1 = icon_map_dbsblx;
             }
           }