mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-26 18:26:23 +00:00
提交
This commit is contained in:
@@ -24,7 +24,7 @@ export class MainForgingBench extends Component {
|
|||||||
onLoad(){
|
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);
|
app.event.on(PetEquipDataEnum.UPDATE_EQUIP,this.onUpdateEquip,this);
|
||||||
|
|
||||||
this.onUpdateView();
|
this.onUpdateView();
|
||||||
@@ -33,7 +33,7 @@ export class MainForgingBench extends Component {
|
|||||||
|
|
||||||
protected onDestroy(): void {
|
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);
|
app.event.off(PetEquipDataEnum.UPDATE_EQUIP,this.onUpdateEquip,this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user