Selaa lähdekoodia

无html 用content

visuddhinanda 2 vuotta sitten
vanhempi
sitoutus
9076a7268b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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}
               />
             )}