diff --git a/hwe/ts/PageFront.vue b/hwe/ts/PageFront.vue index 690ea564..13c1b782 100644 --- a/hwe/ts/PageFront.vue +++ b/hwe/ts/PageFront.vue @@ -94,7 +94,7 @@
- +
@@ -160,6 +160,7 @@ id="mobileBottomBar" :frontInfo="frontInfo" :globalMenu="globalMenu" + @refresh="tryRefresh" />
diff --git a/hwe/ts/components/GameBottomBar.vue b/hwe/ts/components/GameBottomBar.vue index d9fe0c15..3e8f084c 100644 --- a/hwe/ts/components/GameBottomBar.vue +++ b/hwe/ts/components/GameBottomBar.vue @@ -100,7 +100,7 @@ @@ -121,6 +121,10 @@ const props = defineProps<{ globalMenu: GetMenuResponse["menu"]; }>(); +const emit = defineEmits<{ + (event: "refresh"): void; +}>(); + const { frontInfo, globalMenu } = toRefs(props); const globalInfo = ref(frontInfo.value.global);