This commit is contained in:
zhuguoqing 2022-06-09 03:07:15 +08:00
parent 0e6f3eb56e
commit adc55b3cc1
2 changed files with 18 additions and 498 deletions

File diff suppressed because it is too large Load Diff

View File

@ -188,12 +188,12 @@ cc.Class({
onLoad() {
cc.audioEngine.stopAll();
NetManage.getOptionSwitch((res) => {
console.log('get switch' + JSON.stringify(res));
if (res.open_list.includes(1)) {
this.btn_task.active = true;
}
});
// NetManage.getOptionSwitch((res) => {
// console.log('get switch' + JSON.stringify(res));
// if (res.open_list.includes(1)) {
// this.btn_task.active = true;
// }
// });
},
start() {
//test