!244 修复搜索列表记忆问题

Merge pull request !244 from nobbo/master
This commit is contained in:
openharmony_ci 2023-12-12 11:15:12 +00:00 committed by Gitee
commit 093df3bd32
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -516,6 +516,7 @@ export struct NoteItemListComp {
doSearch() {
if (this.inputKeyword.length == 0) {
this.setNoteListLazy()
return;
};
SearchModel.search(NoteUtil.getNoteDataArray(AppStorage.Get('AllNoteArray'), this.selectedFolderData.uuid), this.inputKeyword)