fix: PageFront에서 모바일 모드 갱신 버튼이 응답하지 않았음

This commit is contained in:
2023-03-09 02:20:27 +09:00
parent f8f638cbee
commit c7de65707b
2 changed files with 7 additions and 2 deletions
+5 -1
View File
@@ -100,7 +100,7 @@
</ul>
</li>
<li class="nav-item">
<a class="refreshPage btn btn-sammo-base2 text-white" role="button">갱신</a>
<a class="refreshPage btn btn-sammo-base2 text-white" role="button" @click="emit('refresh')">갱신</a>
</li>
</ul>
</div>
@@ -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);