<template>
  <el-result icon="error" title="403" sub-title="Sorry, request error">
    <template #extra>
      <el-button type="primary" @click="push('/')">返回</el-button>
    </template>
  </el-result>
</template>

<script setup name="error">
import { useRouter } from 'vue-router';
const { push } = useRouter();
</script>
