style(sth): 代码微改

This commit is contained in:
BTMuli
2023-03-28 16:14:49 +08:00
parent b90cad26f5
commit de1b5cdc2b
4 changed files with 21 additions and 39 deletions

View File

@@ -35,10 +35,10 @@ export async function InitTGData() {
/**
* @description 删除数据库
* @since Alpha
* @return {Promise<void>}
* @return {void}
*/
export async function DeleteTGData() {
await window.indexedDB.deleteDatabase(DB_NAME);
export function DeleteTGData() {
window.indexedDB.deleteDatabase(DB_NAME);
}
/**