mirror of
https://gitee.com/openharmony/applications_notes
synced 2024-11-23 07:30:27 +00:00
修复jscrash
Signed-off-by: wangzhiyusss <wangzhiyu12@huawei.com>
This commit is contained in:
parent
1dd027ff8d
commit
900c501d32
@ -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
|
||||
}
|
||||
|
@ -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
1236
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user