From 539508d1ab0f3828f945eddb098b2d8b2dc6aac9 Mon Sep 17 00:00:00 2001 From: molvqingtai Date: Mon, 4 Nov 2024 21:35:08 +0800 Subject: [PATCH] chore: add comments --- src/domain/impls/Storage.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/domain/impls/Storage.ts b/src/domain/impls/Storage.ts index 2fc0636..b467c0f 100644 --- a/src/domain/impls/Storage.ts +++ b/src/domain/impls/Storage.ts @@ -58,6 +58,7 @@ export const BrowserSyncStorageImpl = BrowserSyncStorageExtern.impl({ name: STORAGE_NAME, get: async (key) => { const value: any = await browserSyncStorage.getItem(key) + // Compatibility with old version data try { return JSONR.parse(value) } catch {