chore: add comments

This commit is contained in:
molvqingtai 2024-11-04 21:35:08 +08:00
parent d5ced0718f
commit 539508d1ab

View file

@ -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 {