优化好友帮玩

This commit is contained in:
huanghaipeng 2026-01-16 10:16:35 +08:00
parent e8e06903f4
commit 6926345275

View File

@ -80,6 +80,8 @@ export default class shareFriend extends cc.Component {
closeBtn() { closeBtn() {
this.node.active = false; this.node.active = false;
cc.fx.GameConfig.GM_INFO.otherUid = "";
cc.fx.GameConfig.GM_INFO.otherLevel = 0;
} }
public setPic(url) { public setPic(url) {
// console.log("设置头像:", this.data.useravatar); // console.log("设置头像:", this.data.useravatar);