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' }) + } } } }