Your Name 3 年之前
父节点
当前提交
84e5452e82
共有 1 个文件被更改,包括 2 次插入2 次删除
  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;
             }
           }