From 6fbb142edc33e998cf1aa36b2248c5a5f1a7b369 Mon Sep 17 00:00:00 2001 From: "PC-20230316NUNE\\Administrator" <2858626794@qq.com> Date: Tue, 9 Jan 2024 18:53:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../assets/script/ui/Home/ForgingBench/MainForgingBench.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/JisolGameCocos/assets/script/ui/Home/ForgingBench/MainForgingBench.ts b/JisolGameCocos/assets/script/ui/Home/ForgingBench/MainForgingBench.ts index 4d3e9f40..9d956b22 100644 --- a/JisolGameCocos/assets/script/ui/Home/ForgingBench/MainForgingBench.ts +++ b/JisolGameCocos/assets/script/ui/Home/ForgingBench/MainForgingBench.ts @@ -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); }