mirror of
https://github.com/openharmony/applications_notes.git
synced 2026-07-19 21:24:33 -04:00
@@ -342,9 +342,6 @@ export struct NoteContentCompPortrait {
|
||||
aboutToDisappear(): void {
|
||||
this.isClickBack = true
|
||||
clearInterval(time_id)
|
||||
setTimeout(() => {
|
||||
LogUtil.info(TAG, "wait save cotext")
|
||||
}, 50)
|
||||
NoteUtil.refreshAll()
|
||||
LogUtil.info(TAG, "aboutToDisappear")
|
||||
}
|
||||
@@ -513,7 +510,10 @@ export struct ToolBarComp {
|
||||
LogUtil.info(TAG, "back, clearInterval time_id : " + time_id)
|
||||
clearInterval(time_id)
|
||||
}
|
||||
router.back()
|
||||
setTimeout(() => {
|
||||
LogUtil.info(TAG, "wait save cotext")
|
||||
router.back()
|
||||
}, 50)
|
||||
NoteUtil.refreshAll()
|
||||
} catch (error) {
|
||||
LogUtil.info(TAG, 'back error')
|
||||
@@ -762,4 +762,4 @@ struct NoteDataMoveItemCompMenu {
|
||||
.height(56)
|
||||
.visibility(FolderUtil.isFolderMoveIn(this.folderItem) ? Visibility.Visible : Visibility.None)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -134,5 +134,8 @@ export struct MyNoteHomeComp {
|
||||
// 退出键盘
|
||||
// @ts-ignore
|
||||
inputMethod.getController().stopInputSession();
|
||||
setTimeout(() => {
|
||||
LogUtil.info(this.TAG, "wait save cotext")
|
||||
}, 50)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user