第一次提交
This commit is contained in:
17
src/views/exception/403/index.vue
Normal file
17
src/views/exception/403/index.vue
Normal file
@@ -0,0 +1,17 @@
|
||||
<template>
|
||||
<div style="padding-top: 80px">
|
||||
<a-result status="403" title="403" sub-title="抱歉, 你无权访问该页面.">
|
||||
<template #extra>
|
||||
<router-link to="/">
|
||||
<a-button type="primary">返回首页</a-button>
|
||||
</router-link>
|
||||
</template>
|
||||
</a-result>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'Exception403'
|
||||
};
|
||||
</script>
|
||||
17
src/views/exception/404/index.vue
Normal file
17
src/views/exception/404/index.vue
Normal file
@@ -0,0 +1,17 @@
|
||||
<template>
|
||||
<div style="padding-top: 80px">
|
||||
<a-result status="404" title="404" sub-title="抱歉, 你访问的页面不存在.">
|
||||
<template #extra>
|
||||
<router-link to="/">
|
||||
<a-button type="primary">返回首页</a-button>
|
||||
</router-link>
|
||||
</template>
|
||||
</a-result>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'Exception404'
|
||||
};
|
||||
</script>
|
||||
17
src/views/exception/500/index.vue
Normal file
17
src/views/exception/500/index.vue
Normal file
@@ -0,0 +1,17 @@
|
||||
<template>
|
||||
<div style="padding-top: 80px">
|
||||
<a-result status="500" title="500" sub-title="抱歉, 服务器出错了.">
|
||||
<template #extra>
|
||||
<router-link to="/">
|
||||
<a-button type="primary">返回首页</a-button>
|
||||
</router-link>
|
||||
</template>
|
||||
</a-result>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'Exception500'
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user