|
@@ -1573,6 +1573,13 @@
|
|
|
// }
|
|
// }
|
|
|
// }
|
|
// }
|
|
|
this.$http.post('/index/register/autoReg', data).then(res => {
|
|
this.$http.post('/index/register/autoReg', data).then(res => {
|
|
|
|
|
+ if(res.data.code == 0){
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ showClose: true,
|
|
|
|
|
+ message: res.data.msg,
|
|
|
|
|
+ type: 'error'
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
if (res.data.code == 1) {
|
|
if (res.data.code == 1) {
|
|
|
this.user_info = res.data.data;
|
|
this.user_info = res.data.data;
|
|
|
console.log(this.user_info,"用户信息")
|
|
console.log(this.user_info,"用户信息")
|