瀏覽代碼

预览诊断末尾不显示标点

zhouna 5 年之前
父節點
當前提交
8955e1b46e
共有 1 個文件被更改,包括 1 次插入1 次删除
  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>