zhaoxiaohai il y a 3 ans
Parent
commit
59c647b0f8
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      pages/userCenter/index.js

+ 1 - 1
pages/userCenter/index.js

@@ -36,7 +36,7 @@ Page({
      */
     onLoad: function (options) {
         /* 日期 */
-        let time = new Date(Date.parse(new Date()) - 568080000000);
+        let time = new Date(Date.parse(new Date()) - 86400000);
         let d = time.getDate();
         if (d < 10) d = '0' + d;
         this.setData({