Commit 68750c5d authored by Xuguangxing's avatar Xuguangxing

fix

parent fbb747e8
...@@ -107,12 +107,12 @@ export default { ...@@ -107,12 +107,12 @@ export default {
}; };
}, },
created() { created() {
if (this.status == 2) { // if (this.status == 2) {
// 订单详情页 // 订单详情页
const currentTime = new Date(this.currentTime.replace(/\-/g, '/')).getTime(); const currentTime = new Date(this.currentTime.replace(/\-/g, '/')).getTime();
const endTime = new Date(this.endTime.replace(/\-/g, '/')).getTime(); const endTime = new Date(this.endTime.replace(/\-/g, '/')).getTime();
this.timeIsOver = currentTime >= endTime ? true : false; this.timeIsOver = currentTime >= endTime ? true : false;
} // }
}, },
methods: { methods: {
toList() { toList() {
......
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