|
@@ -164,11 +164,11 @@ export class scene_page extends Component {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
on_zhao_bu_tong_finish(widget:zhao_xi_jie_item_data){
|
|
on_zhao_bu_tong_finish(widget:zhao_xi_jie_item_data){
|
|
- let item = this.mWidgetList.get(widget.widget_id)
|
|
|
|
- if(item===null){
|
|
|
|
|
|
+ let item = this.mWidgetList.get(widget.widget_id)
|
|
|
|
+ if(!item){
|
|
return tools.showToast("配置找茬错误!")
|
|
return tools.showToast("配置找茬错误!")
|
|
- }
|
|
|
|
- item.getComponent(widget_base).showZhaoButongFinishStatus()
|
|
|
|
|
|
+ }
|
|
|
|
+ item.getComponent(widget_base).showZhaoButongFinishStatus()
|
|
}
|
|
}
|
|
on_zhao_bu_tong_all_finish(data: zhao_xi_jie_data) {
|
|
on_zhao_bu_tong_all_finish(data: zhao_xi_jie_data) {
|
|
let widget_list = gameManager.getWidgetList(this.mData)
|
|
let widget_list = gameManager.getWidgetList(this.mData)
|