Commit 8ac2e48c by 张立顺

Merge branch 'saas+v4.26.0_0817' of 192.168.3.233:saas_plus/business-assistant i…

…nto saas+v4.26.0_0817
2 parents de85b6a0 fa74c8f3
......@@ -170,7 +170,8 @@ Page({
getList(isReset = false) {
let { technicianList, pageCof, total, customerInfo, isAsk } = this.data
if (total == customerList.length || isAsk) {
let _this = this
if (total == technicianList.length || isAsk) {
return true
}
let params = {
......
......@@ -69,12 +69,12 @@ Page({
isAsk: true
})
mineApi.getStaffListAPI(params).then(res => {
let tempList = isReset ? res?.list || [] : this.data.staffList.concat(res?.list || [])
let tempList = isReset ? res?.data || [] : this.data.staffList.concat(res?.data || [])
this.setData({
staffList: tempList,
currentPage: currentPage + 1,
total: res.total,
nothing: res.total == tempList.length,
total: res.count,
nothing: res.count == tempList.length,
triggered: false
})
if (isReset) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!