工作日历修改
This commit is contained in:
parent
ea08f9c812
commit
5970eaaf10
@ -125,6 +125,7 @@ const handleSelect = async (date:any) => {
|
|||||||
const toYear = new Date().getFullYear().toString()
|
const toYear = new Date().getFullYear().toString()
|
||||||
if (year !== toYear){
|
if (year !== toYear){
|
||||||
message.error("只能更改今年日期")
|
message.error("只能更改今年日期")
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//获取选中日期,创建更新世界
|
//获取选中日期,创建更新世界
|
||||||
|
Loading…
Reference in New Issue
Block a user