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');
                 }