彻底优化数据库字段
This commit is contained in:
@@ -45,7 +45,7 @@ function readError(error: unknown, fallback: string) {
|
||||
}
|
||||
|
||||
function listingPrice(item: Listing) {
|
||||
return Number(item.price || item.price_daily || item.price_hourly || 0).toFixed(2);
|
||||
return Number(item.price || 0).toFixed(2);
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user