Commit c30c8f70 authored by youjie's avatar youjie

no message

parent 338e31ad
......@@ -588,18 +588,13 @@
this.remainingSeconds = Math.floor(remainingSeconds/1000)
let endTime = new Date(this.orderData.directOrder.CreateTime)
endTime.setHours(endTime.getHours()+6)
endTime.setMinutes(endTime.getMinutes() + 5)
this.endts = this.remainingSeconds
console.log(this.endts,'----------')
if(this.endts<=0){
this.cancleOrderHandle()
this.changeSeconds(this.remainingSeconds)
}
const m = Math.floor(this.remainingSeconds / 60)
const s = this.remainingSeconds % 60
this.dielineTime = `${m}${s}秒`
// // 启动倒计时
// if(this.remainingSeconds) this.startCountdown()
// else this.handleTimeout()
this.dielineTime = `${endTime.getHours()}${endTime.getMinutes()}分`
}
......
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