fix: 订单列表展示修改、优化修复页面进入时请求两次

This commit is contained in:
2025-03-26 10:45:55 +08:00
parent 7830983824
commit b7845ea331
3 changed files with 18 additions and 7 deletions

View File

@@ -77,6 +77,7 @@ export const options: { [key in optionsType]: options[] } = {
{ label: '微信小程序', value: 'WX' },
{ label: '支付宝小程序', value: 'ALI' },
{ label: '收银机客户端', value: 'PC' },
{ label: '收款码', value: 'H5' },
],
sendType: [
{ label: '快递', value: 'post' },

View File

@@ -17,6 +17,8 @@ const contentConfig: IContentConfig = {
indexAction: function (params) {
return OrderApi.getList(params);
},
indexActionData: {
},
// deleteAction: OrderApi.delete,
// modifyAction: function (data) {
// // return OrderApi.edit(data);