perf: ssr

This commit is contained in:
archer
2023-06-13 20:07:32 +08:00
parent 89e7c1abca
commit 391332c8dd
8 changed files with 53 additions and 46 deletions

View File

@@ -10,7 +10,7 @@ import SideBar from '@/components/SideBar';
const ModelDetail = dynamic(() => import('./components/detail/index'), {
loading: () => <Loading fixed={false} />,
ssr: false
ssr: true
});
const Model = ({ modelId }: { modelId: string }) => {