update
This commit is contained in:
parent
0e6f3eb56e
commit
adc55b3cc1
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user