!154 修改删除列表笔记能编辑问题

Merge pull request !154 from nobbo/master
This commit is contained in:
openharmony_ci 2022-12-19 08:18:08 +00:00 committed by Gitee
commit 668a56a87f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -228,10 +228,10 @@ export struct NoteContentCompPortrait {
alignItems: ItemAlign.Start, alignContent: FlexAlign.SpaceAround }) {
Column() {
ToolBarComp({ controllerShow: this.controllerShow })
NoteContentOverViewComp()
}
Column() {
NoteContentOverViewComp()
Web({ src: $rawfile('editor.html'), controller: this.controllerShow })
.javaScriptAccess(true)
.javaScriptProxy({
@ -272,6 +272,7 @@ export struct NoteContentCompPortrait {
this.storeScrollTop(event.yOffset)
})
}
.enabled(this.selectedNoteData && this.selectedNoteData.is_deleted == Delete.Yes ? false : true)
.flexShrink(1)
.onClick(() => {
if (time_id) {