== to ===
This commit is contained in:
@@ -20,7 +20,7 @@ export class TrophyClaim extends Laya.Script {
|
||||
public onSetShow(record: TrophyRecord): void {
|
||||
for (let i = 0; i < MONTH_LIST.length; i++) {
|
||||
const obj = MONTH_LIST[i]
|
||||
if (obj.year == record.year && obj.month == record.month) {
|
||||
if (obj.year === record.year && obj.month === record.month) {
|
||||
this.icon.skin = obj.icon_res
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user