Explorar o código

问答 ->讨论

visuddhinanda %!s(int64=3) %!d(string=hai) anos
pai
achega
ccfd5bd4ef
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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) => {