|
@@ -413,6 +413,14 @@
|
|
|
var phone1 = phone.slice(0,3);
|
|
|
var phone2 = phone.slice(-4);
|
|
|
this.userPhone = phone1 + '****' + phone2;
|
|
|
+
|
|
|
+ if (res.code == 200&&res.result) {
|
|
|
+ var token = res ? res.data.token : '';
|
|
|
+ this.carhelp.setPersonInfo(res.data.regUser );
|
|
|
+ this.carhelp.setToken(token);
|
|
|
+ this.carhelp.setPersonInfoPlus(res.data);
|
|
|
+ console.log("setPersonInfoPlus")
|
|
|
+ }
|
|
|
}).catch(error => {
|
|
|
uni.showToast({
|
|
|
title: error,
|