|
@@ -135,9 +135,15 @@ Page({
|
|
|
//console.log(res1);
|
|
|
//console.log(res1.data.code == 1);
|
|
|
if (res1.data.code == 1) {
|
|
|
- that.setData({
|
|
|
- errorMsg: res1.data.msg
|
|
|
- })
|
|
|
+ // that.setData({
|
|
|
+ // errorMsg: res1.data.msg
|
|
|
+ // })
|
|
|
+ wx.showModal({
|
|
|
+ title: '提示',
|
|
|
+ content: res1.data.msg,
|
|
|
+ showCancel:false,
|
|
|
+ confirmColor:'#00AADD',
|
|
|
+ });
|
|
|
} else {
|
|
|
//返回该用户
|
|
|
//跳转到上一页
|