Commit a34b8606 authored by Edwise's avatar Edwise 🍷

1

parent 0a8a34c7
......@@ -13,7 +13,8 @@ const {
commonToast,
getAuthUserInfo,
navigateToOutside,
getSystemInfo
getSystemInfo,
getServerTime
} = tbcc.tb;
const SHARE_CONFIG = {
......@@ -378,7 +379,9 @@ Page({
this.setData({
activityBaseInfo: data
})
if(new Date().getTime() < data.startTime){
const nowTime = await getServerTime().catch(()=>{});
console.log("现在时间",nowTime)
if(nowTime < data.startTime){
this.setData({
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