소스 검색

无html 用content

visuddhinanda 2 년 전
부모
커밋
9076a7268b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      dashboard/src/components/template/SentEdit/SentCell.tsx

+ 1 - 1
dashboard/src/components/template/SentEdit/SentCell.tsx

@@ -301,7 +301,7 @@ const SentCellWidget = ({
                   marginBottom: 0,
                 }}
                 placeholder="请输入"
-                html={sentData.html}
+                html={sentData.html ? sentData.html : sentData.content}
                 wordWidget={wordWidget}
               />
             )}