细节完善

This commit is contained in:
kron
2025-07-18 15:48:41 +08:00
parent c8dbc1eb5e
commit 115e0cefbb
5 changed files with 9 additions and 1 deletions

View File

@@ -14,7 +14,11 @@ onShow(async () => {
show.value = isGaming;
});
const onClick = async () => {
const result = await getCurrentGameAPI();
const isGaming = await isGamingAPI();
show.value = isGaming;
if (isGaming) {
const result = await getCurrentGameAPI();
}
};
</script>