瀏覽代碼

bug修改

yanym 5 年之前
父節點
當前提交
104d81f5c8
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
     minute = minute < 10 ? "0" + minute : minute;
     second = second < 10 ? "0" + second : second;
     second = second < 10 ? "0" + second : second;
     date = year + '-' + month + '-' + day + ' ' + hour + ':' + minute + ':' + second;
     date = year + '-' + month + '-' + day + ' ' + hour + ':' + minute + ':' + second;
-    console.log(date);
     return date;
     return date;
   },
   },
 
 
@@ -94,6 +93,7 @@ Page({
     that.setData({
     that.setData({
       apiTotal: api.total.substring(0, api.total.length - 4)
       apiTotal: api.total.substring(0, api.total.length - 4)
     })
     })
+    console.log(that.data.isregiste)
     if (that.data.isregiste) {
     if (that.data.isregiste) {
       that.getVisitorCheckInfo(2);
       that.getVisitorCheckInfo(2);
     } else {
     } else {