update: remote temp code

This commit is contained in:
sanfan.hx
2019-09-17 14:31:45 +08:00
parent 90ee9f8412
commit 11c2e619c3

View File

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