Sfoglia il codice sorgente

:fire: type corpus

visuddhinanda 3 anni fa
parent
commit
06a743ec28
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      dashboard/src/pages/library/article/show.tsx

+ 2 - 1
dashboard/src/pages/library/article/show.tsx

@@ -14,6 +14,7 @@ import ProTabs from "../../../components/article/ProTabs";
  *   page  页码
  *   chapter 段落
  *   article 文章
+ *   textbook 课本
  * @returns
  */
 const Widget = () => {
@@ -51,7 +52,7 @@ const Widget = () => {
           >
             <Article
               active={true}
-              type={`corpus/${type}`}
+              type={type}
               articleId={id}
               mode={articleMode}
             />