forked from devsam/core
fix: 유니크 경매 항목 변경시 금액이 자동 조절되도록 수정
- 굳이 기존 값을 남길 이유가 없어보임
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user