You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by sh...@apache.org on 2024/03/15 09:36:23 UTC

(incubator-answer) branch feat/1.3.0/ui updated: fix: article style format

This is an automated email from the ASF dual-hosted git repository.

shuai pushed a commit to branch feat/1.3.0/ui
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git


The following commit(s) were added to refs/heads/feat/1.3.0/ui by this push:
     new c15736d2 fix: article style format
c15736d2 is described below

commit c15736d2d608b3a3e162c841bea41e376bd213ef
Author: shuai <li...@sifou.com>
AuthorDate: Fri Mar 15 17:36:14 2024 +0800

    fix: article style format
---
 ui/src/pages/Review/components/FlagContent/index.tsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ui/src/pages/Review/components/FlagContent/index.tsx b/ui/src/pages/Review/components/FlagContent/index.tsx
index 06a08b61..87309c73 100644
--- a/ui/src/pages/Review/components/FlagContent/index.tsx
+++ b/ui/src/pages/Review/components/FlagContent/index.tsx
@@ -98,7 +98,9 @@ const Index: FC<IProps> = ({ refreshCount }) => {
       return;
     }
 
-    htmlRender(ref.current);
+    setTimeout(() => {
+      htmlRender(ref.current);
+    }, 60);
   }, [ref.current]);
 
   const {