fix: 手机端关闭侧边栏后刷新页面的延迟300ms=>350ms,instrumentation.ts好像得写在src内部以适配生产环境,

新增simple_deploy.sh便于部署
This commit is contained in:
2025-11-18 20:32:28 +08:00
parent 2a80a44972
commit 91d39b3145
6 changed files with 76 additions and 4 deletions

View File

@@ -45,7 +45,7 @@ export function AppSidebar({ menuItems, ...props }: AppSidebarProps) {
// 等待侧边栏关闭动画完成后再导航
setTimeout(() => {
router.push(href)
}, 300)
}, 350)
}
}, [isMobile, setOpenMobile, router])