!258 修复备忘录新建笔记时笔记列表闪烁问题

Merge pull request !258 from 张宏/master
This commit is contained in:
openharmony_ci 2024-04-15 14:03:42 +00:00 committed by Gitee
commit 8d0c2a3f98
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -867,8 +867,8 @@ export struct AddNoteComp {
AppStorage.SetOrCreate<FolderData>('NewFolder', this.selectedFolderData)
AppStorage.SetOrCreate<string>('ContinueNote', continueNote)
LogUtil.info(TAG, "addNote, set continue note success")
routePage()
AppStorage.SetOrCreate('isUpdate', true)
routePage()
})
.visibility(this.longpress || this.selectedFolderData.uuid == SysDefFolderUuid.RecentDeletes ? Visibility.None : Visibility.Visible)
}