mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-09 19:06:46 +08:00
修改时间
This commit is contained in:
@@ -262,7 +262,7 @@
|
|||||||
mounted() {
|
mounted() {
|
||||||
//控制弹出窗口的代码
|
//控制弹出窗口的代码
|
||||||
let now = new Date() //当前时间
|
let now = new Date() //当前时间
|
||||||
let start=new Date('2023/01/20 00:00:00') //对比时间
|
let start=new Date('2023/01/22 00:00:00') //对比时间
|
||||||
let end = new Date('2023/02/05 00:00:00') //对比时间
|
let end = new Date('2023/02/05 00:00:00') //对比时间
|
||||||
if(now.getTime()>start.getTime() && now.getTime() < end.getTime()){
|
if(now.getTime()>start.getTime() && now.getTime() < end.getTime()){
|
||||||
apiOnceMedal.has('china2023').then(rs=>{
|
apiOnceMedal.has('china2023').then(rs=>{
|
||||||
|
|||||||
Reference in New Issue
Block a user