فهرست منبع

无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}
               />
             )}