[测评系统]--前端(用户答题页面)
yj
2024-11-25 a778d5e53e74b2170e37607b2536a957dbc1d664
src/views/demography/index.vue
@@ -116,6 +116,8 @@
    const langType = this.$route.query.langType
    if (langType && (langType === 'Chinese' || langType === 'English' || langType === 'Thai')) {
      this.setLangType(langType)
    } else {
      this.setLangType('English')
    }
  },
  beforeDestroy () {
@@ -155,8 +157,7 @@
                  _this.$router.push({ path: '/exam/' + _this.doUrl })
                  return
                }
                // _this.$router.push({ path: '/guide/index', query: { formDo: _this.formDo } })
                _this.$router.push({ path: '/guide/index' })
                _this.$router.push({ path: '/guide/index', query: { formDo: _this.formDo } })
              }).catch(e => {
                _this.$message.error(_this.$t('noquestionMsg'))
              })