修改40X错误提示页面的错误,正确代码应为404对应页面未找到,403对应被禁止

Signed-off-by: 霜叶 <only_passerby@163.com>
This commit is contained in:
霜叶 2023-05-17 12:41:52 +00:00 committed by Gitee
parent 3693856a05
commit fdea2dd169
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 6 additions and 6 deletions

View File

@ -8,7 +8,7 @@
* @Copyright 1024创新实验室 https://1024lab.net Since 2012 * @Copyright 1024创新实验室 https://1024lab.net Since 2012
--> -->
<template> <template>
<a-result status="404" title="对不起,您没有权限访问此内容"> <a-result status="403" title="对不起,您没有权限访问此内容">
<template #extra> <template #extra>
<a-button type="primary" @click="goHome">返回首页</a-button> <a-button type="primary" @click="goHome">返回首页</a-button>
</template> </template>

View File

@ -1,5 +1,5 @@
<!-- <!--
* 403 不存在 页面 * 404 不存在 页面
* *
* @Author: 1024创新实验室-主任卓大 * @Author: 1024创新实验室-主任卓大
* @Date: 2022-08-08 20:46:18 * @Date: 2022-08-08 20:46:18
@ -8,7 +8,7 @@
* @Copyright 1024创新实验室 https://1024lab.net Since 2012 * @Copyright 1024创新实验室 https://1024lab.net Since 2012
--> -->
<template> <template>
<a-result status="403" title="对不起,您访问的内容不存在!"> <a-result status="404 title="对不起您访问的内容不存在">
<template #extra> <template #extra>
<a-button type="primary" @click="goHome">返回首页</a-button> <a-button type="primary" @click="goHome">返回首页</a-button>
</template> </template>

View File

@ -8,7 +8,7 @@
* @Copyright 1024创新实验室 https://1024lab.net Since 2012 * @Copyright 1024创新实验室 https://1024lab.net Since 2012
--> -->
<template> <template>
<a-result status="404" title="对不起,您没有权限访问此内容"> <a-result status="403" title="对不起,您没有权限访问此内容">
<template #extra> <template #extra>
<a-button type="primary" @click="goHome">返回首页</a-button> <a-button type="primary" @click="goHome">返回首页</a-button>
</template> </template>

View File

@ -1,5 +1,5 @@
<!-- <!--
* 403 不存在 页面 * 404 不存在 页面
* *
* @Author: 1024创新实验室-主任卓大 * @Author: 1024创新实验室-主任卓大
* @Date: 2022-08-08 20:46:18 * @Date: 2022-08-08 20:46:18
@ -8,7 +8,7 @@
* @Copyright 1024创新实验室 https://1024lab.net Since 2012 * @Copyright 1024创新实验室 https://1024lab.net Since 2012
--> -->
<template> <template>
<a-result status="403" title="对不起,您访问的内容不存在!"> <a-result status="404" title="对不起,您访问的内容不存在!">
<template #extra> <template #extra>
<a-button type="primary" @click="goHome">返回首页</a-button> <a-button type="primary" @click="goHome">返回首页</a-button>
</template> </template>