From 9aa944b90c781cd59e16953b2239eb56513015c3 Mon Sep 17 00:00:00 2001 From: nobbo Date: Thu, 15 Dec 2022 19:19:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=A0=E9=99=A4=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E7=AC=94=E8=AE=B0=E8=83=BD=E7=BC=96=E8=BE=91=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nobbo --- features/src/main/ets/components/NoteContentCompPortrait.ets | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/features/src/main/ets/components/NoteContentCompPortrait.ets b/features/src/main/ets/components/NoteContentCompPortrait.ets index fe05a6f..137838f 100644 --- a/features/src/main/ets/components/NoteContentCompPortrait.ets +++ b/features/src/main/ets/components/NoteContentCompPortrait.ets @@ -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) { -- Gitee