yearning
16 小时以前 63fea2990e587837ed3dde2b9ac8f2b4ef729672
src/views/h5/addrVerify/index.vue
@@ -5,7 +5,9 @@
export default {
  components: {},
  data() {
    return {}
    return {
      noTaskTip: ''
    }
  },
  computed: {
    appId() {
@@ -15,7 +17,7 @@
  async created() {
    const canVerify = await this.getCanVerify()
    if (!canVerify) {
      this.$router.replace('/h5/noVerAccess')
      this.$router.replace({ path: '/h5/noTask', query: { tip: this.noTaskTip }})
      return
    }
    const getCheckIsSubmit = await this.getCheckIsSubmit()
@@ -36,9 +38,13 @@
        }
        this.$axios.get('/exam/verify-record/can-verify', { params }).then(res => {
          if (res.data.code == 0) {
            if (!res.data.data) {
              this.noTaskTip = '您非此考点核验人员,无法签到,请联系工作人员确认。'
            }
            resolve(res.data.data)
          } else {
            resolve(false)
            this.noTaskTip = res.data.msg
          }
        }, () => {
          resolve(false)