mirror of
https://gitee.com/openharmony/applications_notes
synced 2024-11-26 17:20:25 +00:00
修复备忘录jscrash
Signed-off-by: zwx1126739 <zhanghong121@huawei.com>
This commit is contained in:
parent
4ff3331118
commit
20013d9305
@ -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