From a62f2a5eca0bff81bf7f192e4a5b17ac3c3a6046 Mon Sep 17 00:00:00 2001 From: khalil Date: Wed, 4 Sep 2024 22:30:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E5=8F=B0-=E5=AE=98=E6=96=B9=E8=B5=A0?= =?UTF-8?q?=E9=80=81=E9=87=91=E5=B8=81-=E8=B0=83=E6=95=B4=E9=87=91?= =?UTF-8?q?=E5=B8=81=E4=B8=8E=E7=BE=8E=E5=85=83=E6=AF=94=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/record/OfficicalGoldView.vue | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/views/record/OfficicalGoldView.vue b/src/views/record/OfficicalGoldView.vue index 281ed00..47a18c8 100644 --- a/src/views/record/OfficicalGoldView.vue +++ b/src/views/record/OfficicalGoldView.vue @@ -332,15 +332,8 @@ export default { $("#tipModal").modal('show'); return; } - var minGold = parseInt(actualAmount * 800); - var maxGold = parseInt(actualAmount * 1200); - var actualGold = parseInt(num); - if (actualGold < minGold || actualGold > maxGold) { - $("#tipMsg").text("赠送金币与充值金额兑换比例不正确!"); - $("#tipModal").modal('show'); - return; - } - if (actualGold != parseInt(actualAmount * 1000)) { + const actualGold = parseInt(num); + if (actualGold != parseInt(actualAmount * 7000)) { $("#tipMsg").text("赠送金币与充值金额兑换比例不正确!"); $("#tipModal").modal('show'); return;