会议室信息
This commit is contained in:
parent
ddb909d2a8
commit
95a83a3f47
@ -193,7 +193,7 @@ const getNow = (date:number)=>{
|
|||||||
const year = now.getFullYear();
|
const year = now.getFullYear();
|
||||||
const month = String(now.getMonth() + 1).padStart(2, '0'); // 月份从0开始,所以需要 +1
|
const month = String(now.getMonth() + 1).padStart(2, '0'); // 月份从0开始,所以需要 +1
|
||||||
const day = String(now.getDate()).padStart(2, '0');
|
const day = String(now.getDate()).padStart(2, '0');
|
||||||
console.log("getNow",`${year}-${month}-${day}`)
|
// console.log("getNow",`${year}-${month}-${day}`)
|
||||||
return `${year}-${month}-${day}`;
|
return `${year}-${month}-${day}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user