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