Commit ad975619 authored by verestrasz's avatar verestrasz

订单支付时间修改

parent aa4a903f
...@@ -132,7 +132,7 @@ export default { ...@@ -132,7 +132,7 @@ export default {
createTime: 0, createTime: 0,
unpaidAmount: 0, unpaidAmount: 0,
}, },
leftTime: 15 * 60 * 1000, leftTime: 3 * 60 * 1000,
formType: "order", formType: "order",
timeFinish: false, timeFinish: false,
oid:"" oid:""
...@@ -301,7 +301,7 @@ export default { ...@@ -301,7 +301,7 @@ export default {
let oids=JSON.parse(res.oidsJson) let oids=JSON.parse(res.oidsJson)
this.oid=oids[0] || "" this.oid=oids[0] || ""
this.payInfo = res; this.payInfo = res;
let timeOut = this.payInfo.createTime + 15 * 60 * 1000 - +new Date(); let timeOut = this.payInfo.createTime + 3 * 60 * 1000 - +new Date();
this.leftTime = timeOut > 0 ? timeOut : 0; this.leftTime = timeOut > 0 ? timeOut : 0;
setTimeout(() => { setTimeout(() => {
this.$hideLoading(); this.$hideLoading();
......
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