refresh cache in example

This commit is contained in:
Tony
2024-10-03 12:00:35 +08:00
parent bbd34b16f4
commit 17d910b381
+1
View File
@@ -23,6 +23,7 @@
await store.set(key, value);
const v = await store.get(key);
cache[key] = v;
cache = cache;
} catch (error) {
onMessage(error);
}