You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cloudnote_web/layouts/error.vue

14 lines
274 B

<template>
<div class="container">
<h1 v-if="error.statusCode === 404">页面不存在</h1>
<h1 v-else>应用发生错误异常</h1>
<nuxt-link to="/"> </nuxt-link>
</div>
</template>
<script lang="ts">
export default {
props: ['error']
}
</script>