️ 扫码逻辑调整,自动获取结果/刷新

This commit is contained in:
BTMuli
2023-12-23 21:20:21 +08:00
parent 18fd7fe59f
commit 5435e75ca2
2 changed files with 48 additions and 39 deletions

View File

@@ -253,18 +253,7 @@ function toOuter(url: string): void {
// 扫码登录
async function confirmScanLogin(): Promise<void> {
const confirmRes = await showConfirm({
title: "请使用米游社 APP 执行操作",
text: "请在成功后刷新数据",
});
if (confirmRes) {
scan.value = true;
} else {
showSnackbar({
color: "grey",
text: "已取消扫码登录",
});
}
scan.value = true;
}
// 刷新用户信息