吴门医述放底栏,绑定手机号-点击确认时没提示修改成功
This commit is contained in:
@@ -452,7 +452,7 @@
|
||||
|
||||
// 手机
|
||||
chosePhone(e) {
|
||||
this.userMes.code = this.userMes.phonecode
|
||||
this.userMes.code = this.userMes.phonecode
|
||||
if (this.userMes.phone == '') {
|
||||
uni.showToast({
|
||||
title: '请输入手机号',
|
||||
@@ -467,6 +467,7 @@
|
||||
});
|
||||
return;
|
||||
}
|
||||
let that = this
|
||||
$http.request({
|
||||
url: "book/user/updateUserTel",
|
||||
method: "POST",
|
||||
@@ -476,8 +477,8 @@
|
||||
},
|
||||
}).then(function(res) {
|
||||
if (res.code == 0) {
|
||||
this.getData();
|
||||
this.phoneShow = false
|
||||
that.getData();
|
||||
that.phoneShow = false
|
||||
uni.showToast({
|
||||
title: "绑定手机号成功"
|
||||
});
|
||||
@@ -506,6 +507,8 @@
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
let that = this
|
||||
$http.request({
|
||||
url: "book/user/updateUserEmail",
|
||||
method: "POST",
|
||||
@@ -515,8 +518,8 @@
|
||||
},
|
||||
}).then(function(res) {
|
||||
if (res.code == 0) {
|
||||
this.getData();
|
||||
this.emailShow = false
|
||||
that.getData();
|
||||
that.emailShow = false
|
||||
uni.showToast({
|
||||
title: "绑定邮箱成功"
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user