This commit is contained in:
海龙 2025-08-31 00:11:00 +08:00
commit 94c06b7d4b
3 changed files with 9 additions and 7 deletions

View File

@ -1,6 +1,10 @@
'use client';
import WorkFlow from '@/components/pages/work-flow';
import dynamic from 'next/dynamic';
const WorkFlow = dynamic(() => import('@/components/pages/work-flow'), {
ssr: false
});
export default function ScriptWorkFlowPage() {
return <WorkFlow />;

View File

@ -350,7 +350,7 @@ export const MediaViewer = React.memo(function MediaViewer({
</motion.div>
{/* 操作按钮组 */}
<AnimatePresence>
{/* <AnimatePresence>
<motion.div
className="absolute top-4 right-4 z-10 gap-2 hidden group-hover:flex"
initial={{ opacity: 0, y: -10 }}
@ -364,7 +364,7 @@ export const MediaViewer = React.memo(function MediaViewer({
onClick={() => handleEditClick('3', 'final')}
/>
</motion.div>
</AnimatePresence>
</AnimatePresence> */}
{/* 底部控制区域 */}
<motion.div

View File

@ -49,10 +49,8 @@ const nextConfig = {
];
},
// 确保静态文件可以正常访问
experimental: {
staticPageGenerationTimeout: 120,
},
// 设置生成超时时间
staticPageGenerationTimeout: 120,
};
module.exports = nextConfig;