This commit is contained in:
toly
2023-10-23 20:01:59 +08:00
parent e26099ac18
commit 8a95ed4417
13 changed files with 139 additions and 112 deletions

View File

@@ -52,11 +52,7 @@ class _AppNavigationRailState extends State<AppNavigationRail> {
}
void _onDestinationSelected(int index) {
if(index==1){
router.setPathKeepLive(kDestinationsPaths[index]);
}else{
router.path = kDestinationsPaths[index];
}
router.path = kDestinationsPaths[index];
}
void _onRouterChange() {