diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts
index 2244636c..165623c5 100644
--- a/src/i18n/locales/en-US.ts
+++ b/src/i18n/locales/en-US.ts
@@ -122,6 +122,22 @@ export default {
serialNum: 'serialNum',
expiryDate: 'expiryDate',
},
+ error: {
+ err403: {
+ ttile: 'No access',
+ subTitle:'Please do not perform illegal operations, you can go back to the main page or return to the',
+ backHome: 'Back to Home',
+ back: 'Back',
+ },
+ err404: {
+ ttile: 'Match page not found',
+ subTitle:'Sorry, the page you are looking for does not exist.',
+ backHome: 'Back to Home',
+ tipTitle: "Can't find the page?",
+ paragraph: 'Try checking the URL for errors and then press the refresh button on your browser.',
+ paragraph1: 'Try to find other content in our application.',
+ },
+ },
login: {
tabPane1: 'Account password login',
tabPane2: 'Login with phone number',
diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts
index 775774d4..25b40cda 100644
--- a/src/i18n/locales/zh-CN.ts
+++ b/src/i18n/locales/zh-CN.ts
@@ -122,6 +122,22 @@ export default {
serialNum: '序列号',
expiryDate: '许可证到期日期',
},
+ error: {
+ err403: {
+ ttile: '没有访问权限',
+ subTitle:'请不要进行非法操作,您可以返回主页面或返回',
+ backHome: '返回首页',
+ back: '返回',
+ },
+ err404: {
+ ttile: '找不到匹配页面',
+ subTitle:'对不起,您正在寻找的页面不存在。',
+ backHome: '返回首页',
+ tipTitle: '找不到网页?',
+ paragraph: '尝试检查URL的错误,然后按浏览器上的刷新按钮。',
+ paragraph1: '尝试在我们的应用程序中找到其他内容。',
+ },
+ },
login: {
tabPane1: '账号密码登录',
tabPane2: '手机号登录',
diff --git a/src/views/error/403.vue b/src/views/error/403.vue
index 13c215c4..b7578e2d 100644
--- a/src/views/error/403.vue
+++ b/src/views/error/403.vue
@@ -1,19 +1,25 @@
- 返回首页
+
+ {{ t('views.error.err403.backHome') }}
+
- router.back()"> 返回
+ router.back()">
+ {{ t('views.error.err403.back') }}
+
diff --git a/src/views/error/404.vue b/src/views/error/404.vue
index 14b1e60e..99261f9b 100644
--- a/src/views/error/404.vue
+++ b/src/views/error/404.vue
@@ -1,23 +1,30 @@
-
+
- 返回首页
+
+ {{ t('views.error.err404.backHome') }}
+
- 找不到网页?
+
+ {{ t('views.error.err404.tipTitle') }}
+
- 1. 尝试检查URL的错误,然后按浏览器上的刷新按钮。
+ 1. {{ t('views.error.err404.paragraph') }}
- 2. 尝试在我们的应用程序中找到其他内容。
+ 2. {{ t('views.error.err404.paragraph1') }}