This commit is contained in:
toly
2023-11-20 20:05:05 +08:00
parent 8de38299e2
commit 6e8d926693
61 changed files with 3107 additions and 65 deletions

View File

@@ -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);
}
}