jwyu 2 years ago
parent
commit
c9a166bb89
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/hzyb/chart/positionAnalysis/components/ChartBox.vue

+ 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})