This commit is contained in:
tx 2024-10-23 18:02:59 +08:00
parent 7cc1ed409d
commit 9e54529535
2 changed files with 2 additions and 2 deletions

View File

@ -802,7 +802,7 @@
// //
let multiplier = this.timenum; let multiplier = this.timenum;
switch (this.chosePriceInfo.rentalUnit) { switch (this.chosePriceInfo.rentalUnit) {
case 'hour': case 'hours':
startTime.setHours(startTime.getHours() + multiplier); startTime.setHours(startTime.getHours() + multiplier);
break; break;
case 'day': case 'day':

View File

@ -890,7 +890,7 @@
return `${month}/${day} ${hours}:${minutes}`; return `${month}/${day} ${hours}:${minutes}`;
}, },
timetype(time) { timetype(time) {
if (time == 'hour') { if (time == 'hours') {
return '小时' return '小时'
} else if (time == 'day') { } else if (time == 'day') {
return '天' return '天'