Compare commits

..

2 Commits

Author SHA1 Message Date
wangxiaoshuang de1b22ff48 Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web
continuous-integration/drone/push Build is passing Details
2025-01-21 11:28:37 +08:00
wangxiaoshuang 66cbbbbb75 退出至登录页国际化问题 2025-01-21 11:28:33 +08:00
4 changed files with 8 additions and 4 deletions

View File

@ -299,7 +299,9 @@ const actions = {
// }) // })
resetRouter() resetRouter()
removeName() removeName()
let lang = zzSessionStorage.getItem('lang')
zzSessionStorage.clear() zzSessionStorage.clear()
zzSessionStorage.setItem('lang', lang)
commit('RESET_STATE') commit('RESET_STATE')
} catch (e) { } catch (e) {
console.log(e) console.log(e)

View File

@ -180,6 +180,8 @@ const setTimer = (obj, type) => {
Message(obj) Message(obj)
} }
if (type === 'confirm') { if (type === 'confirm') {
obj[2].closeOnClickModal = false
obj[2].closeOnPressEscape = false
MessageBox.confirm(...obj) MessageBox.confirm(...obj)
} }
clearTimeout(timer); clearTimeout(timer);

View File

@ -86,8 +86,8 @@ export default {
this.setLanguage('en') this.setLanguage('en')
this.$updateDictionary() this.$updateDictionary()
} else { } else {
//this.$i18n.locale = 'zh' this.$i18n.locale = 'zh'
//this.setLanguage('zh') this.setLanguage('zh')
this.$updateDictionary() this.$updateDictionary()
} }
this.title = this.doctorInfo.BasicInfoView?`${this.doctorInfo.BasicInfoView.BlindName}${this.$t('resumeInfo:title:Details')}`:'' this.title = this.doctorInfo.BasicInfoView?`${this.doctorInfo.BasicInfoView.BlindName}${this.$t('resumeInfo:title:Details')}`:''

View File

@ -98,8 +98,8 @@ export default {
this.setLanguage('en') this.setLanguage('en')
this.$updateDictionary() this.$updateDictionary()
} else { } else {
//this.$i18n.locale = 'zh' this.$i18n.locale = 'zh'
//this.setLanguage('zh') this.setLanguage('zh')
this.$updateDictionary() this.$updateDictionary()
} }
this.title =this.doctorInfo.BasicInfoView?`${this.doctorInfo.BasicInfoView.FirstName} ${this.doctorInfo.BasicInfoView.LastName}${this.$t('resumeInfo:title:Details')}`:'' this.title =this.doctorInfo.BasicInfoView?`${this.doctorInfo.BasicInfoView.FirstName} ${this.doctorInfo.BasicInfoView.LastName}${this.$t('resumeInfo:title:Details')}`:''