修复备忘录jscrash

Signed-off-by: zwx1126739 <zhanghong121@huawei.com>
This commit is contained in:
zwx1126739 2024-07-01 10:20:52 +08:00
parent 4ff3331118
commit 20013d9305
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)
}
}