diff --git a/src/store/modules/user.js b/src/store/modules/user.js index 07cfc266..d5894a69 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -299,7 +299,9 @@ const actions = { // }) resetRouter() removeName() + let lang = zzSessionStorage.getItem('lang') zzSessionStorage.clear() + zzSessionStorage.setItem('lang', lang) commit('RESET_STATE') } catch (e) { console.log(e) diff --git a/src/utils/request.js b/src/utils/request.js index a8d5e132..e08153f7 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -180,6 +180,8 @@ const setTimer = (obj, type) => { Message(obj) } if (type === 'confirm') { + obj[2].closeOnClickModal = false + obj[2].closeOnPressEscape = false MessageBox.confirm(...obj) } clearTimeout(timer); diff --git a/src/views/blindResumeInfo/info.vue b/src/views/blindResumeInfo/info.vue index 1fd40263..2c2305e2 100644 --- a/src/views/blindResumeInfo/info.vue +++ b/src/views/blindResumeInfo/info.vue @@ -86,8 +86,8 @@ export default { this.setLanguage('en') this.$updateDictionary() } else { - //this.$i18n.locale = 'zh' - //this.setLanguage('zh') + this.$i18n.locale = 'zh' + this.setLanguage('zh') this.$updateDictionary() } this.title = this.doctorInfo.BasicInfoView?`${this.doctorInfo.BasicInfoView.BlindName}${this.$t('resumeInfo:title:Details')}`:'' diff --git a/src/views/resumeInfo/index.vue b/src/views/resumeInfo/index.vue index 50c565c1..3a801144 100644 --- a/src/views/resumeInfo/index.vue +++ b/src/views/resumeInfo/index.vue @@ -98,8 +98,8 @@ export default { this.setLanguage('en') this.$updateDictionary() } else { - //this.$i18n.locale = 'zh' - //this.setLanguage('zh') + this.$i18n.locale = 'zh' + this.setLanguage('zh') this.$updateDictionary() } this.title =this.doctorInfo.BasicInfoView?`${this.doctorInfo.BasicInfoView.FirstName} ${this.doctorInfo.BasicInfoView.LastName}${this.$t('resumeInfo:title:Details')}`:''