Pārlūkot izejas kodu

Merge branch 'dev5.3.2' of http://192.168.2.236:10080/zhouna/newICSS into dev5.3.2

luolei 5 gadi atpakaļ
vecāks
revīzija
891ccd0fa8
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      src/components/ChronicInfo/index.jsx

+ 2 - 1
src/components/ChronicInfo/index.jsx

@@ -148,7 +148,8 @@ class ChronicInfo extends React.Component{
     const {showHide} = this.props;
     if(!showHide.isPop){
       //量表结果,判断需要计算并且dom中有值才能加入病例记录
-      const res = this.$result.current&&this.$result.current.innerText;
+      // innerHTML 兼容FF26
+      const res = this.$result.current&&(this.$result.current.innerText||this.$result.current.innerHTML);
       if(!isClose&&(this.$result.current&&!res)){
         Notify.info("请先计算量表结果!");
         return ;