Просмотр исходного кода

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

zhangxc 5 лет назад
Родитель
Сommit
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,             //滚动条对象
     }
 }