update: router path

This commit is contained in:
sanfan.hx
2019-08-15 16:31:22 +08:00
parent 555241b0a1
commit 0f23d5d5fe
4 changed files with 7 additions and 3 deletions

View File

@ -93,7 +93,8 @@ class _MyHomePageState extends State<AppPage>
searchHistoryList.add(
SearchHistory(name: targetName, targetRouter: widgetPoint.routerName));
print("searchHistoryList1 ${searchHistoryList.toString()}");
Application.router.navigateTo(context, widgetPoint.routerName,
String targetRouter = widgetPoint.routerName;
Application.router.navigateTo(context, targetRouter.toLowerCase(),
transition: TransitionType.inFromRight);
}