mirror of
https://gitee.com/openharmony/applications_notes
synced 2024-11-23 15:39:50 +00:00
修改删除笔记列表未刷新问题
Signed-off-by: nobbo <gaoshang22@huawei.com>
This commit is contained in:
parent
b6400a7191
commit
52f99098e0
@ -400,6 +400,7 @@ export struct ToolBarComp {
|
||||
clearInterval(time_id)
|
||||
}
|
||||
router.back()
|
||||
NoteUtil.refreshAll()
|
||||
})
|
||||
|
||||
if (this.editModel == false) {
|
||||
|
@ -829,6 +829,7 @@ export struct OperateNoteCompForPortrait {
|
||||
this.longpress = false
|
||||
this.refreshFlag = (this.refreshFlag == 0 ? 1 : 0)
|
||||
NoteUtil.unsetAllNotesChecked(this.CheckedNoteArray)
|
||||
NoteUtil.refreshAll()
|
||||
}
|
||||
|
||||
noteDataDeleteDialogCtlBottom: CustomDialogController = new CustomDialogController({
|
||||
@ -865,6 +866,7 @@ export struct OperateNoteCompForPortrait {
|
||||
let continueNote: string = JSON.stringify(this.selectedNoteData.toNoteObject())
|
||||
AppStorage.SetOrCreate<string>('ContinueNote', continueNote)
|
||||
LogUtil.info(TAG, "OperateNoteCompForPortrait, set continue note success")
|
||||
NoteUtil.refreshAll()
|
||||
}
|
||||
|
||||
build() {
|
||||
@ -983,6 +985,7 @@ export struct OperateNoteCompForPortrait {
|
||||
NoteUtil.unsetAllNotesChecked(this.CheckedNoteArray)
|
||||
this.refreshFlag = (this.refreshFlag == 0 ? 1 : 0)
|
||||
AppStorage.SetOrCreate('isUpdate', true)
|
||||
NoteUtil.refreshAll()
|
||||
})
|
||||
Text($r("app.string.recover"))
|
||||
.fontSize(10)
|
||||
|
Loading…
Reference in New Issue
Block a user