Your Name 3 tahun lalu
induk
melakukan
84e5452e82
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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;
             }
           }