Explorar el Código

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

zhangxc hace 5 años
padre
commit
aafda46c7d
Se han modificado 1 ficheros con 1 adiciones y 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,             //滚动条对象
     }
 }