mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-13 09:28:14 +08:00
✏️ 完善 showConfirm 类型
This commit is contained in:
@@ -370,7 +370,7 @@ async function deleteGacha(): Promise<void> {
|
||||
text: `UID:${uidCur.value},共 ${gachaListCur.value.length} 条数据`,
|
||||
});
|
||||
}
|
||||
if (secondConfirm === false) {
|
||||
if (!secondConfirm) {
|
||||
showSnackbar({
|
||||
color: "grey",
|
||||
text: "已取消祈愿数据删除",
|
||||
|
||||
@@ -353,7 +353,7 @@ async function handleImportOuter(app: string): Promise<void> {
|
||||
title: "是否导入祈愿数据?",
|
||||
text: `来源APP:${app}`,
|
||||
});
|
||||
if (confirm === true) {
|
||||
if (confirm) {
|
||||
// 读取 剪贴板
|
||||
const clipboard = await window.navigator.clipboard.readText();
|
||||
let data: TGApp.Plugins.UIAF.Achievement[];
|
||||
|
||||
Reference in New Issue
Block a user