mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +00:00
提交
This commit is contained in:
@@ -15,6 +15,11 @@ export const RData = (data:any,isTips:boolean = false) => {
|
||||
PlayerPetData.getIns().onUpdateOV(res.operation,res.pet); //刷新宠物
|
||||
})
|
||||
}
|
||||
//如果有 rewards 字段 表示要弹出获得资源
|
||||
if(data.data['rewards']){
|
||||
//弹出获得资源
|
||||
app.layer.Open(GUI.RewardClaimView,data.data['rewards'])
|
||||
}
|
||||
//弹出提示
|
||||
if(isTips){
|
||||
app.layer.Open(GUI.Tips,{text:data.data.msg});
|
||||
|
Reference in New Issue
Block a user