소스 검색

问答 ->讨论

visuddhinanda 3 년 전
부모
커밋
ccfd5bd4ef
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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) => {