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