浏览代码

修改右侧添加诊断,滚动条定位(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,             //滚动条对象
     }
 }