Commit c04c8a03 authored by wildfirecode's avatar wildfirecode

1

parent 2ba94f51
......@@ -364,10 +364,12 @@ export default class MapScene extends Scene {
NetManager.ins.hc_mapRank(() => {
const hc_mapRank = DataManager.ins.getData('hc_mapRank').data;
if (!hc_mapRank) return;
const { data } = DataManager.ins.getData('hc_userInfo');
hc_mapRank.forEach((ele) => {
// ele.rank[0].avatar =
if(ele.levelNum == getHomeData().levels.length + 1 ){
ele.rank[0].avatar = data.avatar;
}
this.addAvatar(ele.levelNum, ele.rank[0]);
console.log(ele)
});
});
}
......
......@@ -87,7 +87,7 @@ export default class InvitePanel extends Panel {
return;
}
let shareCode = res.data; // 分享码
CFG.wxShareLink = "https://gameact.suning.com/duiba/customShare/share?id=3531" + "&shareCode=" + shareCode; // 分享链接
CFG.wxShareLink = window['h5URL'] + "&shareCode=" + shareCode; // 分享链接
if(iswx()) { //微信端
this.wxShareTip.visible = true;
window["invokeWX"]();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment