!277 【4.1-Release】修复备忘录jscrash

Merge pull request !277 from 张宏/cherry-pick-1719801370
This commit is contained in:
openharmony_ci 2024-07-01 13:43:35 +00:00 committed by Gitee
commit e9341b3944
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ export class FolderUtil {
if (folderData === undefined || folderData === null) {
LogUtil.info(TAG, "isFolderMoveIn folderData undefined")
}
if (folderData.uuid === undefined || folderData.uuid === null) {
if (folderData!.uuid === undefined || folderData!.uuid === null) {
LogUtil.info(TAG, "isFolderMoveIn folderData uuid undefined")
folderData.uuid = 'sys_def_unClassified_uuid';
}

View File

@ -319,7 +319,7 @@ struct NoteDataMoveItemComp {
}
.width(288)
.height(56)
.visibility(FolderUtil.isFolderMoveIn(this.folderItem) ? Visibility.Visible : Visibility.None)
.visibility(FolderUtil.isFolderMoveIn(this.folderItem!) ? Visibility.Visible : Visibility.None)
}
}