Kaynağa Gözat

添加句子编号div

visuddhinanda 3 yıl önce
ebeveyn
işleme
3407ce40b4

+ 5 - 0
dashboard/src/components/template/SentRead.tsx

@@ -85,6 +85,11 @@ const SentReadFrame = ({
         style={{ display: "flex", flexDirection: layout, marginBottom: 10 }}
         style={{ display: "flex", flexDirection: layout, marginBottom: 10 }}
         ref={boxSent}
         ref={boxSent}
       >
       >
+        <div
+          dangerouslySetInnerHTML={{
+            __html: `<div class="pcd_sent" id="sent_${sentId}"></div>`,
+          }}
+        />
         <div style={{ flex: "5", color: "#9f3a01" }} ref={boxOrg}>
         <div style={{ flex: "5", color: "#9f3a01" }} ref={boxOrg}>
           {origin?.map((item, id) => {
           {origin?.map((item, id) => {
             return (
             return (