소스 검색

Update storage.ts

main
Steve Ruiz 4 년 전
부모
커밋
6722ae3dfa
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5
    1
      state/storage.ts

+ 5
- 1
state/storage.ts 파일 보기

@@ -45,7 +45,11 @@ class Storage {
45 45
       }
46 46
     }
47 47
 
48
-    this.load(data)
48
+    try {
49
+      this.load(data)
50
+    } catch (error) {
51
+      console.error(error)
52
+    }
49 53
   }
50 54
 
51 55
   saveDocumentToLocalStorage(data: Data) {

Loading…
취소
저장