2 Commits 42070cfebd ... 4ea98a9c06

Auteur SHA1 Bericht Datum
  zhangjiansheng 4ea98a9c06 Merge remote-tracking branch 'origin/master' 3 maanden geleden
  zhangjiansheng 241a96a952 bug修改 3 maanden geleden
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      src/views/settingsPage/clinicMaintenance/index.vue

+ 1 - 1
src/views/settingsPage/clinicMaintenance/index.vue

@@ -162,7 +162,7 @@ export default {
162 162
         this.tableData.forEach(x=>{
163 163
           const today = new Date();
164 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 167
         this.loading = false;
168 168
       }