🐛 一些优化

*修复画片初始化数量异常
*数据库更新后弹出更新日志
*调整生日转换逻辑
This commit is contained in:
目棃
2024-04-05 15:21:28 +08:00
parent d78c541c87
commit d1bfa49bd7
3 changed files with 8 additions and 7 deletions

View File

@@ -202,7 +202,7 @@ async function getDeepLink(): Promise<UnlistenFn> {
async function toUIAF(link: string) {
const url = new URL(link);
const app = url.searchParams.get("app");
if (app === null) {
if (app === null || app === "") {
await router.push("/achievements");
} else {
await router.push("/achievements/?app=" + app);
@@ -225,7 +225,6 @@ async function checkUpdate(): Promise<void> {
color: "error",
timeout: 3000,
});
window.open("https://app.btmuli.ink/docs/Changelogs.html");
return;
}
appStore.buildTime = getBuildTime();
@@ -235,6 +234,7 @@ async function checkUpdate(): Promise<void> {
color: "success",
timeout: 3000,
});
window.open("https://app.btmuli.ink/docs/Changelogs.html");
}
}