fix: 유니크 경매 항목 변경시 금액이 자동 조절되도록 수정

- 굳이 기존 값을 남길 이유가 없어보임
This commit is contained in:
2024-02-24 15:14:24 +00:00
parent cacf0981ce
commit 2ca03389d2
+1 -1
View File
@@ -152,7 +152,7 @@ async function refreshDetail() {
currentAuction.value = await SammoAPI.Auction.GetUniqueItemAuctionDetail({ auctionID });
const bidList = currentAuction.value.bidList;
const highestBidAmount = Math.max(bidList[0].amount, bidList[bidList.length-1].amount);
bidAmount.value = Math.max(bidAmount.value, Math.ceil(highestBidAmount * 1.01));
bidAmount.value = highestBidAmount * 1.01;
} catch (e) {
console.error(e);
if (isString(e)) {