From 4e8b69c1d76237d796690f4d498ad98559e0f5e0 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Tue, 3 Dec 2019 19:18:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B1=89=E5=8C=96=E9=94=99=E8=AF=AF=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/error/401.vue | 23 ++++++----------------- ruoyi-ui/src/views/error/404.vue | 19 ++++++++++++------- 2 files changed, 18 insertions(+), 24 deletions(-) diff --git a/ruoyi-ui/src/views/error/401.vue b/ruoyi-ui/src/views/error/401.vue index 856115088..9664fbaf4 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 页面 -

你没有权限去该页面

-
如有不满请联系你领导
+

您没有访问权限!

+
对不起,您没有访问权限,请不要进行非法操作!您可以返回主页面
Girl has dropped her ice cream.
- - - @@ -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 c21ebcefc..666d27c87 100644 --- a/ruoyi-ui/src/views/error/404.vue +++ b/ruoyi-ui/src/views/error/404.vue @@ -8,13 +8,18 @@ 404
-
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 '找不到网页!' } } }