mirror of
https://github.com/openharmony/applications_notes.git
synced 2026-07-21 00:26:37 -04:00
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user