|
@@ -353,6 +353,7 @@ class KMBotaSearchViewController: KMNBotaBaseViewController {
|
|
self.finding_ = true
|
|
self.finding_ = true
|
|
let searchS = keyword
|
|
let searchS = keyword
|
|
if searchS.isEmpty {
|
|
if searchS.isEmpty {
|
|
|
|
+ self.updateResults(results: [])
|
|
return
|
|
return
|
|
}
|
|
}
|
|
let opt = self.fetchSearchOptions()
|
|
let opt = self.fetchSearchOptions()
|
|
@@ -449,7 +450,7 @@ class KMBotaSearchViewController: KMNBotaBaseViewController {
|
|
|
|
|
|
self.searchResults = datas
|
|
self.searchResults = datas
|
|
// self.searchResults.first?.isExpand = true
|
|
// self.searchResults.first?.isExpand = true
|
|
- for model in self.searchResults ?? [] {
|
|
|
|
|
|
+ for model in self.searchResults {
|
|
model.isExpand = true
|
|
model.isExpand = true
|
|
}
|
|
}
|
|
|
|
|