diff --git a/src/views/login/index.vue b/src/views/login/index.vue index cbd8136e..21f33813 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -205,17 +205,21 @@ " >

About

-

关于

-

- {{ $t('login:title:system_title_about') }} +

关于

+

+ +

-

{{ $t('login:title:system') }}

-

+

{{ $t('login:title:system') }}

+

V{{ $version.IsEnv_US ? $version.Version_US : $version.Version }}

@@ -313,7 +317,8 @@ export default { computed: { ...mapGetters(['asyncRoutes', 'routes', 'language']), host() { - return window.location.host + // return window.location.host + return 'elevateimaging.ai ' }, }, watch: { @@ -328,6 +333,7 @@ export default { }, }, mounted() { + let lang = zzSessionStorage.getItem('lang') || 'zh' zzSessionStorage.clear() this.loginType = this.$route.query.loginType this.location = this.$route.query.location @@ -343,8 +349,8 @@ export default { this.setLanguage('en') this.$updateDictionary() } else { - this.$i18n.locale = 'zh' - this.setLanguage('zh') + this.$i18n.locale = lang + this.setLanguage(lang) this.$updateDictionary() } } @@ -388,8 +394,8 @@ export default { .dispatch('user/login', this.loginForm) .then((res) => { if (res.BasicInfo.LoginState === 2) { - this.$message.warning(this.$t('login:message:login4')) - } + this.$message.warning(this.$t('login:message:login4')) + } if (res.BasicInfo.IsFirstAdd) { // 当前用户为首次登录,请先修改密码之后再次登录 this.$message.success(this.$t('login:message:login1')) @@ -431,6 +437,8 @@ export default { // // this.$alert(this.$t('login:message:login4'), this.$t('common:title:warning')) // this.$message.warning(this.$t('login:message:login4')) // } + zzSessionStorage.removeItem('userId') + zzSessionStorage.removeItem('identityUserId') this.changeRoleLogin() }) .catch(() => { diff --git a/src/views/reviewers/curriculumVitae/components/info/info.vue b/src/views/reviewers/curriculumVitae/components/info/info.vue index 94f94864..68a6ef80 100644 --- a/src/views/reviewers/curriculumVitae/components/info/info.vue +++ b/src/views/reviewers/curriculumVitae/components/info/info.vue @@ -6,7 +6,7 @@