Quellcode durchsuchen

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

luolei vor 5 Jahren
Ursprung
Commit
891ccd0fa8
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  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 ;