修复搜索列表记忆问题

Signed-off-by: nobbo <gaoshang22@huawei.com>
This commit is contained in:
nobbo
2023-12-12 17:29:49 +08:00
parent 9ff1fba331
commit ab1d54403e
@@ -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)