Browse Source

问答 ->讨论

visuddhinanda 3 years ago
parent
commit
ccfd5bd4ef
1 changed files with 2 additions and 1 deletions
  1. 2 1
      dashboard/src/components/comment/CommentListCard.tsx

+ 2 - 1
dashboard/src/components/comment/CommentListCard.tsx

@@ -85,7 +85,7 @@ const Widget = ({
 
   return (
     <div>
-      <Card title="问答" extra={<a href="#">More</a>}>
+      <Card title="讨论" extra={<a href="#">More</a>}>
         {data.length > 0 ? (
           <CommentList
             onSelect={(
@@ -102,6 +102,7 @@ const Widget = ({
 
         {resId && resType ? (
           <CommentCreate
+            contentType="markdown"
             resId={resId}
             resType={resType}
             onCreated={(e: IComment) => {