Browse Source

bug修改

yanym 5 years ago
parent
commit
104d81f5c8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dorm-manager-wx/pages/teacher/visitorcheck/visitorcheck.js

+ 1 - 1
dorm-manager-wx/pages/teacher/visitorcheck/visitorcheck.js

@@ -68,7 +68,6 @@ Page({
     minute = minute < 10 ? "0" + minute : minute;
     second = second < 10 ? "0" + second : second;
     date = year + '-' + month + '-' + day + ' ' + hour + ':' + minute + ':' + second;
-    console.log(date);
     return date;
   },
 
@@ -94,6 +93,7 @@ Page({
     that.setData({
       apiTotal: api.total.substring(0, api.total.length - 4)
     })
+    console.log(that.data.isregiste)
     if (that.data.isregiste) {
       that.getVisitorCheckInfo(2);
     } else {