From 920ec425afd7bc9c1f6df895012747610a71aaa5 Mon Sep 17 00:00:00 2001 From: Zyronon Date: Tue, 18 Nov 2025 01:45:15 +0800 Subject: [PATCH] save --- public/migrate.html | 2 ++ public/static-home.html | 14 ++++++++------ src/App.vue | 27 +++++++++++++++++++++++++++ 3 files changed, 37 insertions(+), 6 deletions(-) diff --git a/public/migrate.html b/public/migrate.html index 1d99d837..e7182d22 100644 --- a/public/migrate.html +++ b/public/migrate.html @@ -27,6 +27,8 @@ }); } + loadIDBKeyval(); // 确保 idb-keyval 已经加载 + // 2️⃣ 读取 IndexedDB async function readAllStorageForMigration(db) { // localStorage 数据 diff --git a/public/static-home.html b/public/static-home.html index 5d2e297e..355ccdd5 100644 --- a/public/static-home.html +++ b/public/static-home.html @@ -327,10 +327,10 @@