...
|
...
|
@@ -56,9 +56,13 @@ const getUserReturn = (uid, page) => { |
|
|
2: '换货'
|
|
|
};
|
|
|
|
|
|
const data = camelCase(result.data);
|
|
|
let data = {};
|
|
|
let paginationOpts = false;
|
|
|
|
|
|
const paginationOpts = data.total > pageSize ? {
|
|
|
if (result && result.data) {
|
|
|
data = camelCase(result.data);
|
|
|
|
|
|
paginationOpts = data.total > pageSize ? {
|
|
|
paginationOpts: {
|
|
|
total: data.total,
|
|
|
page: data.page,
|
...
|
...
|
@@ -77,6 +81,7 @@ const getUserReturn = (uid, page) => { |
|
|
it.hidePrice = true;
|
|
|
});
|
|
|
});
|
|
|
}
|
|
|
|
|
|
return {
|
|
|
returnsList: Object.assign(data, paginationOpts, basicData)
|
...
|
...
|
|