奖励已经双倍奖励

This commit is contained in:
panfudan
2025-08-19 19:40:34 +08:00
parent 22f35893d7
commit 854affeaae
32 changed files with 12848 additions and 7746 deletions

View File

@@ -38,8 +38,13 @@ export class MissionHomeComp extends CCComp {
uodate_data(){
smc.syncData()
}
isWxClient(){
return typeof wx !== 'undefined' && typeof (wx as any).getSystemInfoSync === 'function';
}
btn_func(e:string,data:any){
smc.syncDataFromLocal() //调试用,正式环境去掉
if(!this.isWxClient()){
smc.syncDataFromLocal() //调试用,正式环境去掉
}
// console.log("[MissionHomeComp]:btn_func",e,data)
let page_heros=this.node.getChildByName("heros_page")
let page_shop=this.node.getChildByName("shop_page")