|
@@ -319,6 +319,9 @@ extension KMSearchViewController {
|
|
@IBAction func clearSearchHistoryAction(sender:Any) {
|
|
@IBAction func clearSearchHistoryAction(sender:Any) {
|
|
UserDefaults.standard.removeObject(forKey: CPDFOfficeSearchHistoryKey)
|
|
UserDefaults.standard.removeObject(forKey: CPDFOfficeSearchHistoryKey)
|
|
self.updateSearchMenu()
|
|
self.updateSearchMenu()
|
|
|
|
+
|
|
|
|
+ //清空搜索词汇
|
|
|
|
+ self.previousSearchString = ""
|
|
}
|
|
}
|
|
|
|
|
|
@IBAction func escButtonAction(_ sender: Any) {
|
|
@IBAction func escButtonAction(_ sender: Any) {
|