Skip to content

Commit ce310d9

Browse files
zwsznblinlinjava
andauthored
fix: 管理后台订单列表请求失败 (#532)
* fix: 管理后台订单列表请求失败 * fix: 管理后台xlsx导出 --------- Co-authored-by: linlinjava <[email protected]>
1 parent 60afecf commit ce310d9

File tree

2 files changed

+198
-198
lines changed

2 files changed

+198
-198
lines changed

litemall-admin/src/api/order.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ export function listOrder(query) {
66
url: '/order/list',
77
method: 'get',
88
params: query,
9-
paramsSerializer: function(params) {
10-
return Qs.stringify(params, { arrayFormat: 'repeat' })
9+
paramsSerializer: {
10+
serialize: (params) => Qs.stringify(params, { arrayFormat: 'repeat' })
1111
}
1212
})
1313
}

0 commit comments

Comments
 (0)