mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): 添加exception页面:403,404,500
This commit is contained in:
@ -1,12 +1,18 @@
|
||||
<template>
|
||||
<n-scrollbar class="h-full" :x-scrollable="true">
|
||||
<div class="inline-block w-full min-h-100vh">
|
||||
<n-scrollbar class="h-full" :x-scrollable="true" :content-class="fullPage ? 'h-full' : ''">
|
||||
<div class="inline-block w-full" :class="[fullPage ? 'h-full' : 'min-h-100vh']">
|
||||
<router-view />
|
||||
</div>
|
||||
</n-scrollbar>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { useRoute } from 'vue-router';
|
||||
import { NScrollbar } from 'naive-ui';
|
||||
import { computed } from 'vue';
|
||||
|
||||
const route = useRoute();
|
||||
/** 100%视高 */
|
||||
const fullPage = computed(() => Boolean(route.meta?.fullPage));
|
||||
</script>
|
||||
<style scoped></style>
|
||||
|
Reference in New Issue
Block a user