<script setup lang="ts">
const router = useRouter();
const back = () => {
  router.replace('/');
};
</script>

<template>
  <div class="content">
    <a-result class="result" status="404" subtitle="页面跑路了" />
    <div class="operation-row">
      <a-button key="back" type="primary" @click="back">返回</a-button>
    </div>
  </div>
</template>

<style scoped lang="scss">
.content {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -95px;
  margin-top: -121px;
  text-align: center;
}
</style>
