diff --git a/packages/client/src/pages/wiki/[wikiId]/documents/index.tsx b/packages/client/src/pages/wiki/[wikiId]/documents/index.tsx index bc03f1c2..87c6e808 100644 --- a/packages/client/src/pages/wiki/[wikiId]/documents/index.tsx +++ b/packages/client/src/pages/wiki/[wikiId]/documents/index.tsx @@ -64,7 +64,7 @@ const AllDocs = ({ wikiId }) => { const Page: NextPage = ({ wikiId }) => { const { query = {} } = useRouter(); - const { tab = 'documents' } = query as { + const { tab = 'tocs' } = query as { tab?: string; }; @@ -88,12 +88,12 @@ const Page: NextPage = ({ wikiId }) => { 文档管理 navigate(tab)}> - - - + + + }