|
|
@@ -36,7 +36,7 @@ export default class Setting extends cc.Component {
|
|
|
private async initData() {
|
|
|
console.log("=== gData.wechatData.unionid", gData.wechatData.unionid);
|
|
|
console.log("=== gData.wechatData.nickName", gData.wechatData.nickName);
|
|
|
- this.lbl_id.string = "ID:" + gData.wechatData.unionid;
|
|
|
+ this.lbl_id.string = "ID:" + mk.string.getNewLimitStr(gData.wechatData.unionid, 10);// 14
|
|
|
this.lbl_nickname.string = gData.wechatData.nickName;
|
|
|
let music = "module/setting/texture/" + (mk.audio.getSwitchMusic() ? "on" : "off");
|
|
|
let effect = "module/setting/texture/" + (mk.audio.getSwitchEffect() ? "on" : "off");
|
|
|
@@ -97,7 +97,7 @@ export default class Setting extends cc.Component {
|
|
|
}
|
|
|
|
|
|
onClickClose() {
|
|
|
- mk.ad.destroyNativeAd();
|
|
|
- mk.ad.checkShowInterByChance();
|
|
|
+ mk.ad.destroyNativeAd();
|
|
|
+ mk.ad.checkShowInterByChance();
|
|
|
}
|
|
|
}
|