Commit 8061becf by CaIon

修复兑换码复制bug

parent 235a5c96
...@@ -173,9 +173,9 @@ const RedemptionsTable = () => { ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment