<template>
  <div class="result-err">
    <img src="~@/assets/svg/403.svg" alt="">
    <div>
      抱歉，您无权访问此页。
    </div>
    <a-button type="primary" style="margin-top:30px" @click="toHome">
      返回首页
    </a-button>
  </div>
</template>

<script setup lang="ts">
import {useRoute} from 'vue-router'
import router from '@/router'
 
    function toHome () {
      router.push({ path: '/' })
    }
  
</script>
