Răsfoiți Sursa

问答 ->讨论

visuddhinanda 3 ani în urmă
părinte
comite
ccfd5bd4ef
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      dashboard/src/components/comment/CommentListCard.tsx

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

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