mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-15 09:48:14 +08:00
✏️ 修正过时描述
This commit is contained in:
@@ -280,10 +280,7 @@ async function getGachaLogs(
|
|||||||
// 导入按钮点击事件
|
// 导入按钮点击事件
|
||||||
async function handleImportBtn(isV4: boolean): Promise<void> {
|
async function handleImportBtn(isV4: boolean): Promise<void> {
|
||||||
if (isV4) {
|
if (isV4) {
|
||||||
const checkConfirm = await showConfirm({
|
const checkConfirm = await showConfirm({ title: "确定导入UIGFv4格式的祈愿数据?" });
|
||||||
title: "确定导入UIGFv4格式的祈愿数据?",
|
|
||||||
text: "该标准尚在制定完善当中,可能会有不兼容的情况",
|
|
||||||
});
|
|
||||||
if (!checkConfirm) {
|
if (!checkConfirm) {
|
||||||
showSnackbar({
|
showSnackbar({
|
||||||
color: "cancel",
|
color: "cancel",
|
||||||
@@ -445,10 +442,7 @@ async function exportUigf(): Promise<void> {
|
|||||||
|
|
||||||
// 导出 UIGF v4 版本的祈愿数据
|
// 导出 UIGF v4 版本的祈愿数据
|
||||||
async function exportUigf4(): Promise<void> {
|
async function exportUigf4(): Promise<void> {
|
||||||
const checkConfirm = await showConfirm({
|
const checkConfirm = await showConfirm({ title: "确定导出UIGFv4格式的祈愿数据?" });
|
||||||
title: "确定导出UIGFv4格式的祈愿数据?",
|
|
||||||
text: "该标准尚在制定完善当中,可能会有不兼容的情况",
|
|
||||||
});
|
|
||||||
if (!checkConfirm) {
|
if (!checkConfirm) {
|
||||||
showSnackbar({
|
showSnackbar({
|
||||||
color: "cancel",
|
color: "cancel",
|
||||||
@@ -457,6 +451,7 @@ async function exportUigf4(): Promise<void> {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
await TGLogger.Info(`[UserGacha][${uidCur.value}][exportUigf4] 导出祈愿数据(v4)`);
|
await TGLogger.Info(`[UserGacha][${uidCur.value}][exportUigf4] 导出祈愿数据(v4)`);
|
||||||
|
// todo 单开一个overlay用于选取导出的UID
|
||||||
const allConfirm = await showConfirm({
|
const allConfirm = await showConfirm({
|
||||||
title: "是否导出所有 UID 的祈愿数据?",
|
title: "是否导出所有 UID 的祈愿数据?",
|
||||||
text: "取消则只导出当前 UID 的祈愿数据",
|
text: "取消则只导出当前 UID 的祈愿数据",
|
||||||
|
|||||||
Reference in New Issue
Block a user