From 6b9423414dd5e518d635a49826a748eb420ce2df Mon Sep 17 00:00:00 2001 From: Zyronon Date: Tue, 18 Nov 2025 14:19:05 +0800 Subject: [PATCH] save4 --- public/migrate.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/public/migrate.html b/public/migrate.html index 27b34936..1ad795d4 100644 --- a/public/migrate.html +++ b/public/migrate.html @@ -47,7 +47,10 @@ const indexedDBData = {}; for (let key of keys) { - indexedDBData[key] = await db.get(key); + let res = await db.get(key); + if (res === null) { + indexedDBData[key] = res + } } return {