Merge branch 'develop'

This commit is contained in:
molvqingtai 2024-11-04 21:35:53 +08:00
commit 0418e75ece

View file

@ -58,6 +58,7 @@ export const BrowserSyncStorageImpl = BrowserSyncStorageExtern.impl({
name: STORAGE_NAME, name: STORAGE_NAME,
get: async (key) => { get: async (key) => {
const value: any = await browserSyncStorage.getItem(key) const value: any = await browserSyncStorage.getItem(key)
// Compatibility with old version data
try { try {
return JSONR.parse(value) return JSONR.parse(value)
} catch { } catch {