From 7dd4146e2cb6bf810434f64ab1140ccca60ab5bf Mon Sep 17 00:00:00 2001 From: chenqiang Date: Mon, 11 Aug 2025 23:12:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=88=9D=E5=A7=8B=E5=8C=96us?= =?UTF-8?q?er.db?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron/db/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/electron/db/index.js b/electron/db/index.js index c1d5713..e35c27f 100644 --- a/electron/db/index.js +++ b/electron/db/index.js @@ -35,6 +35,7 @@ export function closeAllConnections() { // 检查数据库是否已初始化 export async function checkDatabaseInitialized() { try { + initializeUserDatabase(); console.log('开始检查数据库初始化状态...'); const systemDb = await getDbConnection(getSystemDbPath()); console.log('成功打开系统数据库');