细节完善
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user