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

<script lang="ts" setup>
import {useRoute} from 'vue-router'
import router from '@/router'

    function toHome () {
      router.push({ path: '/' })
    }

</script>
