jwyu há 2 anos atrás
pai
commit
c9a166bb89

+ 2 - 2
src/views/hzyb/chart/positionAnalysis/components/ChartBox.vue

@@ -146,8 +146,8 @@ function showDetail(name){
         }
     })
     // 判断是否是在pc中 如果是则通知pc显示弹窗
-    console.log(window.innerWidth);
-    if(window.innerWidth>600){
+    // console.log(window.innerWidth);
+    if(isPcShow){
         window.parent.postMessage({
             opt:'showDetail',
             data:JSON.stringify({...data,type_name:props.data.name})