yearning
16 小时以前 63fea2990e587837ed3dde2b9ac8f2b4ef729672
src/views/h5/login/redirect.vue
@@ -86,11 +86,11 @@
          const resData = res.data.data || {}
          if (resData.userId) {
            tokenUtils.setTokens(resData.accessToken, resData.refreshToken)
            const path = localStorage.getItem('verify_url')
            const path = localStorage.getItem('_enterUrl')
            if (path) {
              this.$router.replace(path)
            } else {
              this.$router.replace('/h5/noVerAccess')
              this.$message.error('参数异常,请重新扫码或联系管理员')
            }
          } else {
            this.$router.replace({ 
@@ -103,7 +103,9 @@
            })
          }
        } else {
          this.$message.error(res.data.msg)
          setTimeout(() => {
            this.$router.replace({ path: '/h5/noTask', query: { tip: res.data.msg }})
          }, 1000)
        }
      })
    }