Просмотр исходного кода

账户中心pc端和移动端邮箱跳转

hangb 7 лет назад
Родитель
Сommit
d1e58558da
2 измененных файлов с 2 добавлено и 1 удалено
  1. 0 1
      components/validation/EmailStepSelect.vue
  2. 2 0
      pages/validation/emailValidation.vue

+ 0 - 1
components/validation/EmailStepSelect.vue

@@ -75,7 +75,6 @@
       getVerifyWay () {
         this.$http.get('/update/user/checkType')
           .then(response => {
-            console.log(response.data, 'data')
             if (response.data.success) {
               if (!response.data.content.mobile) {
                 this.goValidPhone = true

+ 2 - 0
pages/validation/emailValidation.vue

@@ -66,8 +66,10 @@
         }
       } else {
         if (this.$route.query.step === '2') {
+          this.$router.push('/validation/emailValidation?token=' + this.$route.query.token + '&step=2')
           this.step = 'new'
         } else if (this.$route.query.step === '3') {
+          this.$router.push('/validation/emailValidation?token=' + this.$route.query.token + '&step=3')
           this.step = 'last'
           this.stepLast = 'last'
         }