From d8c6cd833e60fdfc9d3d6c8ad267cad2b44a89ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Fri, 30 Jun 2023 11:51:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=8B=E6=9C=BA=E7=AB=AF?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E8=B7=B3=E5=88=B0pc=E7=9A=84=E9=A6=96?= =?UTF-8?q?=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/common/lang/en-us.js | 1 + jero-web/src/common/lang/zh-cn.js | 1 + jero-web/src/views/exception/ExceptionPage.vue | 9 +++++++-- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index b8f690cc8..1e95b4b86 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -1884,4 +1884,5 @@ module.exports = { browsingTime:'Browsing Time', pleaseViewOnPc:'Please view on PC', taskHandling:'Task Handling', + backToHomePage:'Back to home page', } \ No newline at end of file diff --git a/jero-web/src/common/lang/zh-cn.js b/jero-web/src/common/lang/zh-cn.js index 49ec8d011..b36ed1689 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -1985,4 +1985,5 @@ module.exports = { browsingTime:'浏览时间', pleaseViewOnPc:'请在pc的查看', taskHandling:'任务办理', + backToHomePage:'返回首页', } \ No newline at end of file diff --git a/jero-web/src/views/exception/ExceptionPage.vue b/jero-web/src/views/exception/ExceptionPage.vue index 0550d5efc..9dcc2284d 100644 --- a/jero-web/src/views/exception/ExceptionPage.vue +++ b/jero-web/src/views/exception/ExceptionPage.vue @@ -7,7 +7,7 @@

{{ config[type].title }}

{{ config[type].desc }}
- 返回首页 + {{$t('m.backToHomePage')}}
@@ -31,7 +31,12 @@ }, methods: { handleToHome () { - this.$router.push({ name: 'dashboard' }) + let isPhone = localStorage.getItem('isPhone') + if (isPhone == 'yes'){ + this.$router.push({ path: '/phoneSearch' }) + }else{ + this.$router.push({ name: 'dashboard' }) + } } } }