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