Sfoglia il codice sorgente

Merge remote-tracking branch 'origin/master' into referMaster

zhouna 5 anni fa
parent
commit
bcc22ef7f8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/components/PreviewBody/ItemPart/index.jsx

+ 1 - 1
src/components/PreviewBody/ItemPart/index.jsx

@@ -4,7 +4,7 @@ import { filterDataArr } from '@utils/tools';
 const ItemPart = (props) => {
   let {dataStr,title,type,dataJson,other_yjs,lastDot} = props;
   if(lastDot){
-    dataStr=dataStr.trim().replace(/;$/g,'');
+    dataStr=dataStr.trim().replace(/$/g,'');
   }
   return <tr className={style['patInfoFst']}>
     <td className={style['patInfoSec']}>{title}</td>