彻底优化数据库字段
This commit is contained in:
@@ -28,9 +28,6 @@ async function handleSubmit() {
|
||||
const listing = await createListing({
|
||||
...form,
|
||||
price,
|
||||
price_hourly: Math.max(Math.round((price / 24) * 100) / 100, 0.01),
|
||||
price_daily: price,
|
||||
price_weekly: Math.round(price * 7 * 100) / 100,
|
||||
screenshot_urls: screenshotUrls.value,
|
||||
})
|
||||
ElMessage.success(
|
||||
|
||||
Reference in New Issue
Block a user