From 11c2e619c3c576c631e9eb11486dcb578f5d81b1 Mon Sep 17 00:00:00 2001 From: "sanfan.hx" Date: Tue, 17 Sep 2019 14:31:45 +0800 Subject: [PATCH] update: remote temp code --- lib/views/home.dart | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/views/home.dart b/lib/views/home.dart index 221ff53f..f8e6815f 100644 --- a/lib/views/home.dart +++ b/lib/views/home.dart @@ -24,8 +24,8 @@ import 'package:flutter_go/components/search_input.dart'; import 'package:flutter_go/model/search_history.dart'; import 'package:flutter_go/resources/widget_name_to_icon.dart'; import 'package:flutter_go/model/user_info.dart'; -// 临时修复引入 -import '../widgets/elements/Form/Input/TextField/index.dart' as TextField; + + class AppPage extends StatefulWidget { final UserInformation userInfo; @@ -99,10 +99,6 @@ class _MyHomePageState extends State void onWidgetTap(WidgetPoint widgetPoint, BuildContext context) { String targetName = widgetPoint.name; String targetRouter = widgetPoint.routerName; - // 临时修复TextField路径问题 - if(widgetPoint.name == 'TextField'){ - targetRouter = TextField.Demo.routeName; - } searchHistoryList.add( SearchHistory(name: targetName, targetRouter: targetRouter)); print("searchHistoryList1 ${searchHistoryList.toString()}");