v10
This commit is contained in:
@@ -37,7 +37,7 @@ class _AppNavigationRailState extends State<AppNavigationRail> {
|
||||
tail: Padding(
|
||||
padding: const EdgeInsets.only(bottom: 6.0),
|
||||
child: Text(
|
||||
'V0.0.9',
|
||||
'V0.0.10',
|
||||
style: TextStyle(color: Colors.white, fontSize: 12),
|
||||
),
|
||||
),
|
||||
@@ -63,14 +63,14 @@ class _AppNavigationRailState extends State<AppNavigationRail> {
|
||||
void _onDestinationSelected(int index) {
|
||||
String path = deskNavBarMenus[index].path!;
|
||||
if (index == 1) {
|
||||
router.changePath(path, keepAlive: true);
|
||||
router.changePath(path, keepAlive: true,recordHistory: true);
|
||||
return;
|
||||
}
|
||||
if (index == 4) {
|
||||
router.changePath(path, style: RouteStyle.push);
|
||||
router.changePath(path, style: RouteStyle.push,recordHistory: true);
|
||||
return;
|
||||
} else {
|
||||
router.changePath(path);
|
||||
router.changePath(path,recordHistory: true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user