!183 修复插入图片不显示滚动条

Merge pull request !183 from wangzhiyusss/master
This commit is contained in:
openharmony_ci 2023-02-21 06:26:39 +00:00 committed by Gitee
commit a4af57e7ac
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 1 additions and 3 deletions

View File

@ -239,7 +239,6 @@ export struct NoteContent {
})
}
.margin({ left: 12, right: 24, top: 16 })
.width(StyleConstants.PERCENTAGE_100)
}
.height(StyleConstants.PERCENTAGE_100)
}

View File

@ -229,6 +229,7 @@ export struct NoteContentComp {
methodList: ["callbackhtml", "callbackhtmlSave", "callbackScheduledSave", "callbackGetSize", "callbackPasteImage", "callbackImagePath"],
controller: this.controllerShow
})
.enabled(this.sectionStatus !== 1 ? false : true)
.onPageEnd((e) => {
if (this.dpi <= 240) {
this.controllerShow.runJavaScript({ script: "changeSizeToRk()" })
@ -412,8 +413,6 @@ export struct NoteContentOverViewComp {
.fontSize(30)
.margin({ left: 0, right: 24 })
.onClick(() => {
this.editModel = true
this.sectionStatus = 1
clearInterval(timeId)
this.editTitleDialogCtl.open()
// save continue data