Commit 88c8fd17 authored by Xuguangxing's avatar Xuguangxing

fix

parent 68750c5d
...@@ -106,13 +106,12 @@ export default { ...@@ -106,13 +106,12 @@ export default {
timeIsOver: false timeIsOver: false
}; };
}, },
created() { watch: {
// if (this.status == 2) { status() {
// 订单详情页 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