Răsfoiți Sursa

时间显示问题修复

liuyao 1 an în urmă
părinte
comite
4c01cec816
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      package-basic-data/pages/share/share.js

+ 1 - 1
package-basic-data/pages/share/share.js

@@ -416,7 +416,7 @@ Page({
           const that = this
           const that = this
           const data = res.data.data
           const data = res.data.data
           const endDate = data.endDate
           const endDate = data.endDate
-          const nowTime = data.nowDate
+          const nowTime = data.nowTime
           const time = that.calculateTimeDifference(new Date(nowTime), new Date(endDate))
           const time = that.calculateTimeDifference(new Date(nowTime), new Date(endDate))
           that.setData({
           that.setData({
             time: time,
             time: time,