♻️ 对于部分点击外部事件进行特殊处理

This commit is contained in:
BTMuli
2023-12-29 23:02:01 +08:00
parent 65e3fd2019
commit 147719ad36
8 changed files with 75 additions and 55 deletions

View File

@@ -383,7 +383,7 @@ async function deleteGacha(): Promise<void> {
return;
}
const uidList = await TGSqlite.getUidList();
let secondConfirm: string | boolean = "";
let secondConfirm: string | boolean | undefined;
if (uidList.length <= 1) {
secondConfirm = await showConfirm({
title: "删除后数据库将为空,确定删除?",