middle-admin-ant/src/pages/base/exception/404.vue

22 lines
504 B
Vue

<template>
<exception-page home-route="/dashboard/workplace" :style="`min-height: ${minHeight}`" type="404" />
</template>
<script>
import ExceptionPage from '@/components/exception/ExceptionPage'
import {mapState} from 'vuex'
export default {
name: 'Exp404',
components: {ExceptionPage},
computed: {
...mapState('setting', ['pageMinHeight']),
minHeight() {
return this.pageMinHeight ? this.pageMinHeight + 'px' : '100vh'
}
}
}
</script>
<style scoped lang="less">
</style>