修复闪退问题

This commit is contained in:
cc
2026-03-21 19:49:38 +08:00
parent 3f4a4f7581
commit e32261d274
4 changed files with 86 additions and 41 deletions

View File

@@ -164,6 +164,10 @@ export class WcdbService {
return this.callWorker('open', { dbPath, hexKey, wxid })
}
async getLastInitError(): Promise<string | null> {
return this.callWorker('getLastInitError')
}
/**
* 关闭数据库连接
*/