|
|
@@ -10,7 +10,7 @@ Component({
|
|
|
content: {
|
|
|
"nacache": true,
|
|
|
"pageNumber": 1,
|
|
|
- "pageSize": 10,
|
|
|
+ "pageSize": 15,
|
|
|
"pageTotal": 1,
|
|
|
"total": null,
|
|
|
"where": {
|
|
|
@@ -111,18 +111,19 @@ Component({
|
|
|
"sys_enterpriseid": item.sys_enterpriseid
|
|
|
}
|
|
|
}).then(res => {
|
|
|
- console.log(res)
|
|
|
+ console.log("删除地址", res)
|
|
|
if (res.msg != '成功') return wx.showToast({
|
|
|
title: res.data,
|
|
|
icon: "none"
|
|
|
});
|
|
|
- that.setData({
|
|
|
- list: this.data.list.filter(v => v.contactsid != item.contactsid)
|
|
|
- });
|
|
|
wx.showToast({
|
|
|
title: `删除成功!`,
|
|
|
icon: "none"
|
|
|
})
|
|
|
+ that.setData({
|
|
|
+ list: that.data.list.filter(v => v.contactsid != item.contactsid),
|
|
|
+ "content.total": that.data.content.total - 1
|
|
|
+ });
|
|
|
})
|
|
|
}
|
|
|
}
|