Explorar el Código

:fire: type corpus

visuddhinanda hace 3 años
padre
commit
06a743ec28
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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}
             />