Commit cd69a0a2 by zhangzhen

bug优化

parent 98fe9c9a
...@@ -260,12 +260,13 @@ ...@@ -260,12 +260,13 @@
}, },
onGetOrderInfo(){ onGetOrderInfo(){
noLoginGetOrderInfo(this.orderNo).then(res=>{ noLoginGetOrderInfo(this.orderNo).then(res=>{
if(res.data.data.status === 2){
let nowTime = moment().valueOf(); let nowTime = moment().valueOf();
let endTime = moment(res.data.data.endDate).valueOf(); let endTime = moment(res.data.data.endDate).valueOf();
if(nowTime - endTime< 15*60*1000){ if(nowTime - endTime< 15*60*1000){
this.continStatus = true; this.continStatus = true;
} }
console.log(this.continStatus,888) }
this.orderInfo = { this.orderInfo = {
...res.data.data, ...res.data.data,
roomImages: res.data.data.roomImages.split(','), 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