mirror of
https://gitee.com/openharmony/applications_notes
synced 2024-11-23 07:30:27 +00:00
commit
409f06c2bd
@ -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)
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user