1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
| <template>
| <exception-page :style="`margin-top: ${marginTop}px; min-height: ${minHeight}px`" type="404" />
| </template>
|
| <script>
| import ExceptionPage from '@/components/exception/ExceptionPage'
| import {mapState} from 'vuex'
| export default {
| name: 'Exp404',
| components: {ExceptionPage},
| inject: ['layoutMinHeight'],
| computed: {
| ...mapState('setting', ['multiPage']),
| marginTop() {
| return this.multiPage ? -24 : 0
| },
| minHeight() {
| return this.multiPage ? this.layoutMinHeight - 32 : this.layoutMinHeight
| }
| }
| }
| </script>
|
| <style scoped lang="less">
| </style>
|
|