fix: PageFront에서 모바일 모드 갱신 버튼이 응답하지 않았음
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user