Commit 7876cd2f by xinla

--no commit message

1 parent a5717a0d
......@@ -20,9 +20,10 @@ export function getCustomerList(params, isTrans) {
url: base + '/customer/findAllWeCustomerList',
method: 'get',
params,
}).then(({ data }) => {
}).then((res) => {
if (isTrans) {
let map = {}
let data = res.data
let _data = []
for (let i = 0; i < data.length; i++) {
let ai = data[i]
......@@ -44,7 +45,7 @@ export function getCustomerList(params, isTrans) {
}
return { data: _data }
} else {
return { data }
return res
}
})
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!