彻底优化数据库字段
This commit is contained in:
@@ -45,7 +45,7 @@ function readSellerPrice(row: Listing) {
|
||||
const price = Number((breakdown as Record<string, unknown>).seller_total_price)
|
||||
if (Number.isFinite(price) && price > 0) return price
|
||||
}
|
||||
return Number(row.price || row.price_daily || row.price_hourly || 0)
|
||||
return Number(row.price || 0)
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user