mirror of
https://github.com/openharmony/applications_notes.git
synced 2026-07-01 10:27:13 -04:00
!316 【6.0-Beta1】修复jscrash
Merge pull request !316 from yuandongping/fix-6.0-Beta1
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user