feat: 回退页面完善
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
<script lang="ts" setup>
|
||||
import { Fallback } from '@vben/common-ui';
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Fallback status="403" />
|
||||
</template>
|
||||
|
@@ -0,0 +1,7 @@
|
||||
<script lang="ts" setup>
|
||||
import { Fallback } from '@vben/common-ui';
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Fallback status="500" :show-back="false" />
|
||||
</template>
|
||||
|
@@ -3,5 +3,5 @@ import { Fallback } from '@vben/common-ui';
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Fallback />
|
||||
<Fallback status="404" />
|
||||
</template>
|
||||
|
16
apps/web-antd/src/views/_essential/vben/about/index.vue
Normal file
16
apps/web-antd/src/views/_essential/vben/about/index.vue
Normal 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>
|
Reference in New Issue
Block a user