fixed: 解决textfield的路径问题

This commit is contained in:
sanfan.hx
2019-09-17 14:24:42 +08:00
parent 94bf52ee51
commit 84b40cb721
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ class SearchHistoryList {
} }
add(SearchHistory item) { add(SearchHistory item) {
print("_searchHistoryList> ${_searchHistoryList.length}"); print("add item to serach history ${item.targetRouter}");
for (SearchHistory value in _searchHistoryList) { for (SearchHistory value in _searchHistoryList) {
if (value.name == item.name) { if (value.name == item.name) {
return; return;

View File

@ -34,7 +34,7 @@ const String _textFieldText2 = """### **进阶用法**
"""; """;
class Demo extends StatefulWidget { class Demo extends StatefulWidget {
static const String routeName = 'elements/Form/Input/TextField'; static const String routeName = 'element/Form/Input/TextField';
@override @override
_DemoState createState() => _DemoState(); _DemoState createState() => _DemoState();