Parcourir la source

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

luolei il y a 5 ans
Parent
commit
891ccd0fa8
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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 ;