yangchenggong1_wd

fix:搜索异常

@@ -181,6 +181,11 @@ export struct SearchComponent { @@ -181,6 +181,11 @@ export struct SearchComponent {
181 trackSearchClick(this.fromTabName,content) 181 trackSearchClick(this.fromTabName,content)
182 //赋值 182 //赋值
183 this.searchText = content 183 this.searchText = content
  184 +
  185 + if(StringUtils.isNotEmpty(this.searchText)){
  186 + this.hasInputContent = true
  187 + }
  188 +
184 //保存搜索记录 189 //保存搜索记录
185 SearcherAboutDataModel.putSearchHistoryData(this.searchText) 190 SearcherAboutDataModel.putSearchHistoryData(this.searchText)
186 //获取搜索记录 191 //获取搜索记录