소스 검색

修改右侧添加诊断,滚动条定位(2841)

zhangxc 5 년 전
부모
커밋
aafda46c7d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/containers/DiagnosticItem.js

+ 1 - 1
src/containers/DiagnosticItem.js

@@ -13,7 +13,7 @@ function mapStateToProps(state) {
     return {
         diagnosticList: state.diagnosticList.diagnosticList,
         mode:state.typeConfig.mode,
-        EMRScrollCont:inspect.context.scrollArea,             //滚动条对象
+        EMRScrollCont:state.inspect.context.scrollArea,             //滚动条对象
     }
 }