Your Name hace 3 años
padre
commit
273f3f4bac
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/components/MarkerMap/dialog.ts

+ 2 - 0
src/components/MarkerMap/dialog.ts

@@ -64,10 +64,12 @@ export const GET_VIDEO_DIALOG_HTML = (
   {
     name,
     addr,
+    status
   }: MarkerType,
   callback = (type=1) => {},
 ) => {
   const el = document.createElement('div');
+  if(status!=1 || status!="1" ) return el;
   el.innerHTML = `
   <div>
     <div class="title">视频监控信息</div>