mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-08-11 09:49:11 +00:00
提交
This commit is contained in:
parent
14f1059337
commit
6fbb142edc
@ -24,7 +24,7 @@ export class MainForgingBench extends Component {
|
||||
onLoad(){
|
||||
|
||||
//监听锻造数据
|
||||
app.event.on(PetEquipDataEnum.UPDATE_FORGING_INFO,this.onUpdateForging,this);
|
||||
app.event.on(PetEquipDataEnum.UPDATE_FORGING_INFO,this.onUpdateView,this);
|
||||
app.event.on(PetEquipDataEnum.UPDATE_EQUIP,this.onUpdateEquip,this);
|
||||
|
||||
this.onUpdateView();
|
||||
@ -33,7 +33,7 @@ export class MainForgingBench extends Component {
|
||||
|
||||
protected onDestroy(): void {
|
||||
|
||||
app.event.off(PetEquipDataEnum.UPDATE_FORGING_INFO,this.onUpdateForging,this);
|
||||
app.event.off(PetEquipDataEnum.UPDATE_FORGING_INFO,this.onUpdateView,this);
|
||||
app.event.off(PetEquipDataEnum.UPDATE_EQUIP,this.onUpdateEquip,this);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user