mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-12 00:53:41 +08:00
修复兑换码复制bug
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user