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

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

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