mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-12 09:18:14 +08:00
style(sth): 代码微改
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user