feat: 回退页面完善

This commit is contained in:
vben
2024-06-08 20:14:04 +08:00
parent 7bcd7746ca
commit 1d6b1f4926
31 changed files with 791 additions and 201 deletions

View File

@@ -0,0 +1,7 @@
<script lang="ts" setup>
import { Fallback } from '@vben/common-ui';
</script>
<template>
<Fallback status="403" />
</template>

View File

@@ -0,0 +1,7 @@
<script lang="ts" setup>
import { Fallback } from '@vben/common-ui';
</script>
<template>
<Fallback status="500" :show-back="false" />
</template>

View File

@@ -3,5 +3,5 @@ import { Fallback } from '@vben/common-ui';
</script>
<template>
<Fallback />
<Fallback status="404" />
</template>

View File

@@ -0,0 +1,16 @@
<script lang="ts" setup>
import { onMounted } from 'vue';
defineOptions({ name: 'About' });
onMounted(() => {
// eslint-disable-next-line no-console
console.log('About');
});
</script>
<template>
<div>
about
<input class="bg-background border-border" />
</div>
</template>