修复jscrash

Signed-off-by: wangzhiyusss <wangzhiyu12@huawei.com>
This commit is contained in:
wangzhiyusss 2023-04-06 14:55:38 +08:00
parent 1dd027ff8d
commit 900c501d32
3 changed files with 2 additions and 1237 deletions

View File

@ -38,6 +38,7 @@ export class FolderUtil {
})
if (folderData == undefined) {
LogUtil.info(TAG, "no folder get " + folderUuid)
folderData = new FolderData(0, "", new Date().getTime() + "", "", FolderType.CusDef, Delete.No, new Date().getTime(), new Date().getTime())
}
return folderData
}

View File

@ -174,7 +174,7 @@ export struct NoteAndCreateComp {
@Component
struct FolderItemComp {
@State folderItem: FolderData = undefined
@State folderItem: FolderData = new FolderData(0, "", new Date().getTime() + "", "", FolderType.CusDef, Delete.No, new Date().getTime(), new Date().getTime())
@StorageLink('AllNoteArray') AllNoteArray: NoteData[] = []
@StorageLink('AllFolderArray') AllFolderArray: FolderData[] = []
@StorageLink('CheckedNoteArray') CheckedNoteArray: NoteData[] = []

1236
package-lock.json generated

File diff suppressed because it is too large Load Diff