feat:storage plugin done

This commit is contained in:
pengfei.zhou
2019-11-22 17:07:16 +08:00
parent b19a3e32f3
commit 4835030ef3
4 changed files with 44 additions and 7 deletions

View File

@@ -163,7 +163,7 @@ export function storage(context: BridgeContext) {
return context.storage.remove({ key, zone })
},
clear: (zone: string) => {
return context.storage.clear(zone)
return context.storage.clear({ zone })
},
}
}