Commit af78bd88 authored by 李维's avatar 李维

放开IOS游客模式

过审
parent 05a69117
......@@ -105,14 +105,14 @@ export default class SceneComponent extends MyCocosSceneComponent {
});
// if (cc.sys.isNative && cc.sys.os == cc.sys.OS_IOS) {
// const tryatry = cc.find('Canvas/bg/ui/tryatry');
// tryatry.active = true;
// buttonOnClick(tryatry, () => {
// cc.find('Canvas/bg/ui/btnLaw/check').active = true;
// this.login(15500000006, "qwer1111");
// });
// }
if (cc.sys.isNative && cc.sys.os == cc.sys.OS_IOS) {
const tryatry = cc.find('Canvas/bg/ui/tryatry');
tryatry.active = true;
buttonOnClick(tryatry, () => {
cc.find('Canvas/bg/ui/btnLaw/check').active = true;
this.login(15500000006, "qwer1111");
});
}
const btnResetPassword = cc.find('Canvas/bg/ui/forgetNode/btnResetPassword');
......
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