1
This commit is contained in:
parent
7cc1ed409d
commit
9e54529535
|
@ -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':
|
||||||
|
|
|
@ -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 '天'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user