!275 修复备忘录jscrash

Merge pull request !275 from 张宏/0701
This commit is contained in:
openharmony_ci 2024-07-01 13:42:33 +00:00 committed by Gitee
commit 64ce8c7b75
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) { if (folderData === undefined || folderData === null) {
LogUtil.info(TAG, "isFolderMoveIn folderData undefined") 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") LogUtil.info(TAG, "isFolderMoveIn folderData uuid undefined")
folderData.uuid = 'sys_def_unClassified_uuid'; folderData.uuid = 'sys_def_unClassified_uuid';
} }

View File

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