浏览代码

时间显示问题修复

liuyao 1 年之前
父节点
当前提交
4c01cec816
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 data = res.data.data
           const endDate = data.endDate
-          const nowTime = data.nowDate
+          const nowTime = data.nowTime
           const time = that.calculateTimeDifference(new Date(nowTime), new Date(endDate))
           that.setData({
             time: time,