@ -34,10 +34,8 @@ export class Search {
public setSearchKeyword(payload: string | null) {
this.searchKeyword = payload
if (!payload) {
this.searchNavigateIndex = null
}
public searchNavigatePre(): number | null {
if (!this.searchMatchList.length || !this.searchKeyword) return null