Bläddra i källkod

anthologyId 传参

visuddhinanda 2 år sedan
förälder
incheckning
547698ed49

+ 1 - 0
dashboard/src/components/anthology/EditableTocTree.tsx

@@ -174,6 +174,7 @@ const EditableTocTreeWidget = ({
       />
       <ArticleDrawer
         articleId={viewArticle?.id}
+        anthologyId={anthologyId}
         type="article"
         open={openViewer}
         title={viewArticle?.title_text}

+ 1 - 0
dashboard/src/components/article/ArticleDrawer.tsx

@@ -105,6 +105,7 @@ const ArticleDrawerWidget = ({
           para={para}
           channelId={channelId}
           articleId={articleId}
+          anthologyId={anthologyId}
           mode={mode}
           onArticleEdit={(value: IArticleDataResponse) => {
             setDrawerTitle(value.title_text);