From c3168d70ef07d6960a67be56d87d5380d5a6742c Mon Sep 17 00:00:00 2001
From: liaozetao <1107136310@qq.com>
Date: Mon, 16 Oct 2023 10:24:46 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8D=95=E7=BA=BF=E6=AF=94?=
=?UTF-8?q?=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/treasure/SeizeTreasurePoolItemView.vue | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
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');
+ }
};