fix: 移除 Detail.jsx 外层 motion.div,修复路由切换白屏问题
All checks were successful
Deploy to Server / deploy (push) Successful in 1m53s

This commit is contained in:
爽哒哒
2026-03-22 00:39:29 +08:00
parent 96be8b9eee
commit 6aa8632704

View File

@@ -351,13 +351,7 @@ const ActivityDetail = () => {
}; };
return ( return (
<motion.div <div style={{ background: '#1f1f1f', minHeight: '100vh', color: '#fff' }}>
initial="initial"
animate="animate"
exit="exit"
variants={pageTransition}
style={{ background: '#1f1f1f', minHeight: '100vh', color: '#fff' }}
>
{/* Sticky Header */} {/* Sticky Header */}
<motion.div <motion.div
style={{ style={{
@@ -623,7 +617,7 @@ const ActivityDetail = () => {
</div> </div>
</Modal> </Modal>
</motion.div> </div>
); );
}; };