1
This commit is contained in:
@@ -21,4 +21,6 @@ class RoutePaths {
|
||||
|
||||
///计划详情页
|
||||
static String planDetail([int? id]) => id != null ? "/planDetail/$id" : "/planDetail/:id";
|
||||
|
||||
static const test = "/test";
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import 'package:plan/page/home/home_page.dart';
|
||||
import 'package:plan/page/test/test_page.dart';
|
||||
|
||||
import '../../page/system/agree/agree_page.dart';
|
||||
import '../../page/system/login/login_code_page.dart';
|
||||
@@ -40,4 +41,10 @@ List<RouteType> baseRoutes = [
|
||||
return HomePage();
|
||||
},
|
||||
),
|
||||
RouteType(
|
||||
path: RoutePaths.test,
|
||||
child: (state) {
|
||||
return TestPage();
|
||||
},
|
||||
),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user