diff --git a/ruoyi-ui/src/views/error/401.vue b/ruoyi-ui/src/views/error/401.vue
index 8561150..9664fba 100644
--- a/ruoyi-ui/src/views/error/401.vue
+++ b/ruoyi-ui/src/views/error/401.vue
@@ -6,31 +6,22 @@
- Oops!
+ 401错误!
- gif来源airbnb 页面
- 你没有权限去该页面
- 如有不满请联系你领导
+ 您没有访问权限!
+ 对不起,您没有访问权限,请不要进行非法操作!您可以返回主页面
-
-
-
@@ -41,15 +32,13 @@ export default {
name: 'Page401',
data() {
return {
- errGif: errGif + '?' + +new Date(),
- ewizardClap: 'https://wpimg.wallstcn.com/007ef517-bafd-4066-aae4-6883632d9646',
- dialogVisible: false
+ errGif: errGif + '?' + +new Date()
}
},
methods: {
back() {
if (this.$route.query.noGoBack) {
- this.$router.push({ path: '/dashboard' })
+ this.$router.push({ path: '/' })
} else {
this.$router.go(-1)
}
diff --git a/ruoyi-ui/src/views/error/404.vue b/ruoyi-ui/src/views/error/404.vue
index c21ebce..666d27c 100644
--- a/ruoyi-ui/src/views/error/404.vue
+++ b/ruoyi-ui/src/views/error/404.vue
@@ -8,13 +8,18 @@
-
OOPS!
-
All rights reserved
-
wallstreetcn
+
+ 404错误!
-
{{ message }}
-
Please check that the URL you entered is correct, or click the button below to return to the homepage.
-
Back to home
+
+ {{ message }}
+
+
+ 对不起,您正在寻找的页面不存在。尝试检查URL的错误,然后按浏览器上的刷新按钮或尝试在我们的应用程序中找到其他内容。
+
+
+ 返回首页
+
@@ -26,7 +31,7 @@ export default {
name: 'Page404',
computed: {
message() {
- return 'The webmaster said that you can not enter this page...'
+ return '找不到网页!'
}
}
}