|
@@ -162,7 +162,7 @@ export default {
|
162
|
this.tableData.forEach(x=>{
|
162
|
this.tableData.forEach(x=>{
|
163
|
const today = new Date();
|
163
|
const today = new Date();
|
164
|
let endTime = new Date(Date.parse(x.expireTime.replace(/-/g, "/"))).getTime();
|
164
|
let endTime = new Date(Date.parse(x.expireTime.replace(/-/g, "/"))).getTime();
|
165
|
- x.isExpire =Math.ceil(Math.abs((today - endTime)) / (1000 * 60 * 60 * 24));
|
|
|
|
|
165
|
+ x.isExpire =Math.ceil((endTime - today) / (1000 * 60 * 60 * 24));
|
166
|
})
|
166
|
})
|
167
|
this.loading = false;
|
167
|
this.loading = false;
|
168
|
}
|
168
|
}
|