Merge branch 'dev' of gitea.51mars.com:Oak-Team/oak-pay-business into dev

This commit is contained in:
Xu Chang 2024-05-21 19:52:30 +08:00
commit 534f13b058
2 changed files with 22 additions and 0 deletions

View File

@ -54,6 +54,16 @@ export default OakComponent({
}
}
],
sorters: [
{
sorter: {
$attr: {
$$createAt$$: 1,
},
$direction: 'desc',
}
}
],
formData({ data }) {
const payConfig = this.features.pay.getPayConfigs();
const offlineConfig = payConfig?.find(ele => ele.channel === PAY_CHANNEL_OFFLINE_NAME);
@ -71,5 +81,6 @@ export default OakComponent({
}),
};
},
getTotal: 100,
actions: ['close', 'succeedPaying']
});

View File

@ -55,6 +55,16 @@ export default OakComponent({
}
}
],
sorters: [
{
sorter: {
$attr: {
$$createAt$$: 1,
},
$direction: 'desc',
}
}
],
formData({ data }) {
const payConfig = this.features.pay.getPayConfigs();
const offlineConfig = payConfig?.find(ele => ele.channel === PAY_CHANNEL_OFFLINE_NAME);
@ -74,5 +84,6 @@ export default OakComponent({
),
};
},
getTotal: 100,
actions: ['close', 'succeedPaying']
})