<template>
  <exception-page :home-route="homePage" :style="`min-height: ${minHeight}`" type="404" />
</template>

<script>
import ExceptionPage from '@vue2-client/components/exception/ExceptionPage'
import { mapState } from 'vuex'
export default {
  name: 'Exp404',
  components: { ExceptionPage },
  computed: {
    homePage () {
      return '/'
    },
    ...mapState('setting', ['pageMinHeight']),
    minHeight () {
      return this.pageMinHeight ? this.pageMinHeight + 'px' : '100vh'
    }
  }
}
</script>

<style scoped lang="less">
</style>
