mirror of
https://gitee.com/openharmony/applications_notes
synced 2024-11-23 07:30:27 +00:00
!277 【4.1-Release】修复备忘录jscrash
Merge pull request !277 from 张宏/cherry-pick-1719801370
This commit is contained in:
commit
e9341b3944
@ -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';
|
||||
}
|
||||
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user