1
This commit is contained in:
parent
7cc1ed409d
commit
9e54529535
|
@ -802,7 +802,7 @@
|
|||
// 确定要增加的时间单位
|
||||
let multiplier = this.timenum;
|
||||
switch (this.chosePriceInfo.rentalUnit) {
|
||||
case 'hour':
|
||||
case 'hours':
|
||||
startTime.setHours(startTime.getHours() + multiplier);
|
||||
break;
|
||||
case 'day':
|
||||
|
|
|
@ -890,7 +890,7 @@
|
|||
return `${month}/${day} ${hours}:${minutes}`;
|
||||
},
|
||||
timetype(time) {
|
||||
if (time == 'hour') {
|
||||
if (time == 'hours') {
|
||||
return '小时'
|
||||
} else if (time == 'day') {
|
||||
return '天'
|
||||
|
|
Loading…
Reference in New Issue
Block a user