diff --git a/src/views/treasure/SeizeTreasurePoolItemView.vue b/src/views/treasure/SeizeTreasurePoolItemView.vue index f4cfa62..7303e6e 100644 --- a/src/views/treasure/SeizeTreasurePoolItemView.vue +++ b/src/views/treasure/SeizeTreasurePoolItemView.vue @@ -15,6 +15,7 @@
@@ -318,12 +319,12 @@ export default { poolGroup: $('#poolGroup').val() }).then(res => { let data = res.data; - $('#giftCount').val(data.giftCount); - $('#giftValue').val(data.giftValue); - $('#rewardLineCount').val(data.rewardLineCount); - $('#rewardLineNum').val(data.rewardLineNum); - $('#totalGiftValue').val(data.totalGiftValue); - $('#singleLineRatio').val(data.singleLineRatio + '%'); + $('#giftCount').html(data.giftCount); + $('#giftValue').html(data.giftValue); + $('#rewardLineCount').html(data.rewardLineCount); + $('#rewardLineNum').html(data.rewardLineNum); + $('#totalGiftValue').html(data.totalGiftValue); + $('#singleLineRatio').html(data.singleLineRatio.toFixed(6) + '%'); }); }, showReward(rewardId) { @@ -439,6 +440,9 @@ export default { this.showPoolItemCount(); } }, + unmounted() { + $('#table').bootstrapTable('destroy'); + } };