✏️ 修正 Input Res

This commit is contained in:
BTMuli
2023-10-26 13:23:54 +08:00
parent 84b98e4ade
commit f84c4b93ea
2 changed files with 9 additions and 2 deletions

View File

@@ -480,6 +480,13 @@ async function tryShowReset(): Promise<void> {
text: "请联系开发者获取",
mode: "input",
});
if (res === false) {
showSnackbar({
color: "grey",
text: "已取消",
});
return;
}
const time = getBuildTime();
const code = time.startsWith("dev.") ? "dev" : time;
if (res === code) {