Commit cd69a0a2 by zhangzhen

bug优化

parent 98fe9c9a
......@@ -260,12 +260,13 @@
},
onGetOrderInfo(){
noLoginGetOrderInfo(this.orderNo).then(res=>{
let nowTime = moment().valueOf();
let endTime = moment(res.data.data.endDate).valueOf();
if(nowTime - endTime< 15*60*1000){
this.continStatus = true;
if(res.data.data.status === 2){
let nowTime = moment().valueOf();
let endTime = moment(res.data.data.endDate).valueOf();
if(nowTime - endTime< 15*60*1000){
this.continStatus = true;
}
}
console.log(this.continStatus,888)
this.orderInfo = {
...res.data.data,
roomImages: res.data.data.roomImages.split(','),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment