From af79bfbb011d2e234da67a7b60e26cc2103cfc4a Mon Sep 17 00:00:00 2001 From: linzhijie <1003392067@qq.com> Date: 星期一, 22 五月 2023 16:26:11 +0800 Subject: [PATCH] H5适配 --- src/views/demography/langOption.vue | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/demography/langOption.vue b/src/views/demography/langOption.vue index ff4257f..3fd7c4e 100644 --- a/src/views/demography/langOption.vue +++ b/src/views/demography/langOption.vue @@ -32,8 +32,8 @@ return { langTypes: [], langSelectValue: this.$route.query.langSelectValue, - langWelcome: this.$t('langWelcomeEnglish'), - langOption: this.$t('langOptionEnglish'), + langWelcome: this.$t('langWelcomeChinese'), + langOption: this.$t('langOptionChinese'), timer: null, submissionLang: this.$t('submission'), isLangKaiStyle: false @@ -50,15 +50,15 @@ num = 0 } if (num === 0) { - _this.langWelcome = _this.$t('langWelcomeEnglish') - _this.langOption = _this.$t('langOptionEnglish') - _this.isLangKaiStyle = false - } - - if (num === 3) { _this.langWelcome = _this.$t('langWelcomeChinese') _this.langOption = _this.$t('langOptionChinese') _this.isLangKaiStyle = true + } + + if (num === 3) { + _this.langWelcome = _this.$t('langWelcomeEnglish') + _this.langOption = _this.$t('langOptionEnglish') + _this.isLangKaiStyle = false } if (num === 6) { @@ -84,7 +84,7 @@ if (_this.reportTemplateId.trim() === '' || _this.reportTemplateId.trim() === null) { examPaperApi.selectTokenId(_this.memberToken).then(re => { if (re.response.finish === 1) { - _this.$router.push({ path: '/exam/finish', query: { name: '', content: _this.$t('finishMsg') } }) + _this.$router.push({ path: '/exam/finish', query: { name: '', content: _this.$t('finishMsg'), tokenId: _this.memberToken } }) } else { _this.setReportTemplateId(re.response.reportTemplateId) demographyApi.queryLangList(_this.memberToken, _this.reportTemplateId).then(function (result) { -- Gitblit v1.9.1