Commit a34b8606 authored by Edwise's avatar Edwise 🍷

1

parent 0a8a34c7
...@@ -13,7 +13,8 @@ const { ...@@ -13,7 +13,8 @@ const {
commonToast, commonToast,
getAuthUserInfo, getAuthUserInfo,
navigateToOutside, navigateToOutside,
getSystemInfo getSystemInfo,
getServerTime
} = tbcc.tb; } = tbcc.tb;
const SHARE_CONFIG = { const SHARE_CONFIG = {
...@@ -378,7 +379,9 @@ Page({ ...@@ -378,7 +379,9 @@ Page({
this.setData({ this.setData({
activityBaseInfo: data activityBaseInfo: data
}) })
if(new Date().getTime() < data.startTime){ const nowTime = await getServerTime().catch(()=>{});
console.log("现在时间",nowTime)
if(nowTime < data.startTime){
this.setData({ this.setData({
endModalVisible:true endModalVisible:true
}) })
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment