mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-21 01:36:37 +08:00
修复兑换码复制bug
This commit is contained in:
parent
655722641b
commit
0d469804e3
@ -173,9 +173,9 @@ const RedemptionsTable = () => {
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
const setRedemptionFormat = (redeptions) => {
|
const setRedemptionFormat = (redeptions) => {
|
||||||
for (let i = 0; i < redeptions.length; i++) {
|
// for (let i = 0; i < redeptions.length; i++) {
|
||||||
redeptions[i].key = '' + redeptions[i].id;
|
// redeptions[i].key = '' + redeptions[i].id;
|
||||||
}
|
// }
|
||||||
// data.key = '' + data.id
|
// data.key = '' + data.id
|
||||||
setRedemptions(redeptions);
|
setRedemptions(redeptions);
|
||||||
if (redeptions.length >= (activePage) * ITEMS_PER_PAGE) {
|
if (redeptions.length >= (activePage) * ITEMS_PER_PAGE) {
|
||||||
|
Loading…
Reference in New Issue
Block a user