!315 修复jscrash

Merge pull request !315 from yuandongping/fix1
This commit is contained in:
openharmony_ci
2025-06-26 14:52:44 +00:00
committed by Gitee
@@ -157,8 +157,13 @@ export struct NoteContentComp {
},
callbackImagePath: (imgName) => {
// updata note image
LogUtil.info(TAG, 'note imgName is:' + imgName);
this.selectedNoteData.content_img = imgName;
try {
LogUtil.info(TAG, 'note imgName is:' + imgName);
this.selectedNoteData.content_img = imgName;
LogUtil.info(TAG, 'set content_img success');
} catch (error) {
LogUtil.error(TAG, 'callbackImagePath error: ' + JSON.stringify(error));
}
},
callbackhtmlSave: (html) => {