Explorar o código

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

zhangxc %!s(int64=5) %!d(string=hai) anos
pai
achega
aafda46c7d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,             //滚动条对象
     }
 }