日历未开放不可点
This commit is contained in:
@@ -290,8 +290,10 @@ export class DailyChallenge extends Laya.Script {
|
|||||||
|
|
||||||
public onClickUnit(evt: Laya.Event): void {
|
public onClickUnit(evt: Laya.Event): void {
|
||||||
const unit = evt.target.getComponent(CalendarUnit)
|
const unit = evt.target.getComponent(CalendarUnit)
|
||||||
|
if (unit.open) {
|
||||||
this.onApplyUnit(unit)
|
this.onApplyUnit(unit)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
onClickLeft(): void {
|
onClickLeft(): void {
|
||||||
if (this.currentIndex > 0) {
|
if (this.currentIndex > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user