<template>
   <div class="main">
      <slot />
   </div>   
   <div class="content ">
      <button class="btn btn-ret" @click="GoBack">返回</button><br />
      <Abar href="/map">返回游戏</Abar>
   </div>
  <Footer></Footer>
</template>

<script setup lang="ts">
const router = useRouter()
//返回
const GoBack = (): void => {
   router.back();

}
</script>

<style scoped></style>