mirror of
https://github.com/openharmony/applications_notes.git
synced 2026-07-18 18:24:27 -04:00
update common/component/src/main/ets/components/NoteContentComp.ets.
Signed-off-by: nobbo <gaoshang22@huawei.com>
This commit is contained in:
@@ -142,7 +142,7 @@ export struct NoteContentComp {
|
||||
this.editContentFlag = true
|
||||
}
|
||||
LogUtil.info(TAG, "finish loadurl")
|
||||
if(this.selectedNoteData.content_text){
|
||||
if(this.selectedNoteData){
|
||||
this.controllerShow.runJavaScript({
|
||||
script: "RICH_EDITOR.setHtml('" + this.selectedNoteData.content_text + "')"
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user