瀏覽代碼

滚动bug

morphone1995 4 年之前
父節點
當前提交
3aa262b661
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/components/HistoryCaseContainer/HistoryList/index.jsx

+ 2 - 0
src/components/HistoryCaseContainer/HistoryList/index.jsx

@@ -124,6 +124,8 @@ class HistoryCaseContainer extends React.Component {
         store.dispatch(getHistempDetail(activeHis));  // 获取引用数据
         const {handleQuoteClick} = this.props;
         handleQuoteClick && handleQuoteClick(activeHis);
+        // 确定引用后,页面设置为可滚动
+        document.body.style.overflow = 'auto';
     }
     //确认删除病历
     makeSureDel(){