Browse Source

点击开单聚焦到医嘱

zhangxc 6 years ago
parent
commit
dd03327ec3
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/components/PushItems/index.jsx

+ 1 - 2
src/components/PushItems/index.jsx

@@ -47,12 +47,11 @@ class PushItems extends Component {
     const checkedCheck = check.filter(item => item.checked);
     const checkedCheck = check.filter(item => item.checked);
     this.props.billing(checkedAssay, checkedCheck);
     this.props.billing(checkedAssay, checkedCheck);
     if(checkedAssay.length > 0 || checkedCheck.length > 0) {
     if(checkedAssay.length > 0 || checkedCheck.length > 0) {
-      console.log('checkedCheck',checkedAssay, checkedCheck)
       const Height = $(".src-components-BodyContainer-2SgEx").height();
       const Height = $(".src-components-BodyContainer-2SgEx").height();
       const adviceHeight = $(".src-common-components-ItemBox-1Bpz3").height();
       const adviceHeight = $(".src-common-components-ItemBox-1Bpz3").height();
       const winHeight = window.innerHeight;
       const winHeight = window.innerHeight;
       const scrollTop = Height;
       const scrollTop = Height;
-      document.documentElement.scrollTop = 10000;
+      $('#addScrollEvent').scrollTop(100000)
     }
     }
     
     
   }
   }