diff --git a/features/src/main/ets/components/NoteContent.ets b/features/src/main/ets/components/NoteContent.ets index f2d7899..9d64718 100644 --- a/features/src/main/ets/components/NoteContent.ets +++ b/features/src/main/ets/components/NoteContent.ets @@ -239,7 +239,6 @@ export struct NoteContent { }) } .margin({ left: 12, right: 24, top: 16 }) - .width(StyleConstants.PERCENTAGE_100) } .height(StyleConstants.PERCENTAGE_100) } diff --git a/features/src/main/ets/components/NoteContentComp.ets b/features/src/main/ets/components/NoteContentComp.ets index 54b200c..ed0ece6 100644 --- a/features/src/main/ets/components/NoteContentComp.ets +++ b/features/src/main/ets/components/NoteContentComp.ets @@ -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