diff --git a/plugins/bindStorage/index.js b/plugins/bindStorage/index.js index 71d66ab..bff0e0a 100644 --- a/plugins/bindStorage/index.js +++ b/plugins/bindStorage/index.js @@ -78,8 +78,6 @@ export default async (ctx, options) => { const path = prefix.length ? event.key.slice(prefix.length): event.key; const module = localStoreNames.find((e) => { return e.path === path - }) || sessionStoreNames.find((e) => { - return e.path === path }); if(!module) return false; const newData = handlerData(event.newValue).value