|
|
@@ -275,10 +275,11 @@ Page({
|
|
|
content
|
|
|
}).then(res => {
|
|
|
console.log("编辑联系人", res)
|
|
|
- if (res.msg != '成功') return wx.showToast({
|
|
|
- title: res.data,
|
|
|
- icon: "none"
|
|
|
- });
|
|
|
+ if (res.msg != '成功') return wx.showModal({
|
|
|
+ title: '提示',
|
|
|
+ content: res.msg,
|
|
|
+ showCancel: false
|
|
|
+ })
|
|
|
let that = this;
|
|
|
let page = getCurrentPages()[getCurrentPages().length - 2];
|
|
|
if (that.data.content.sa_project_contactsid) {
|