Your Name 3 năm trước cách đây
mục cha
commit
273f3f4bac
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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>