mirror of
https://github.com/openharmony/applications_notes.git
synced 2026-07-18 18:24:27 -04:00
!40 fix longpress bug
Merge pull request !40 from zhanghongchuan33/master
This commit is contained in:
@@ -364,6 +364,7 @@ export struct ToolBarComp {
|
||||
if (this.lastSectionStatus != undefined) {
|
||||
// 切换为小屏预览模式
|
||||
this.controllerShow.runJavaScript({ script: "RICH_EDITOR.setInputEnabled(false)" })
|
||||
this.sectionStatus = this.lastSectionStatus
|
||||
// 退出全屏时存库
|
||||
LogUtil.info(TAG, "close note" + this.selectedNoteData.uuid)
|
||||
this.controllerShow.runJavaScript({ script: "save_html_content()" })
|
||||
|
||||
Reference in New Issue
Block a user