Commit 88c8fd17 authored by Xuguangxing's avatar Xuguangxing

fix

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