jason.lu 6 년 전
부모
커밋
8458794288
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      sourcecode/h5app/vue/src/views/SecurityVerify.vue

+ 4 - 2
sourcecode/h5app/vue/src/views/SecurityVerify.vue

@@ -247,8 +247,10 @@
                     && res.model !== undefined
                     && res.model.list !== undefined
                     && res.model.list.length > 0
-                    && res.model.list[0].phone !== undefined) {
-                    if (res.model.list[0].phone.length !== 0) that.$router.push('presentRegister');
+                    && res.model.list[0].uid !== undefined) {
+                    if (res.model.list[0].phone == null && res.model.list[0].phone.length !== 0){
+                        that.$router.push('presentRegister');
+                    }
                 } else {
                     that.$router.push('index');
                 }