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() {
|
onLoad() {
|
||||||
cc.audioEngine.stopAll();
|
cc.audioEngine.stopAll();
|
||||||
|
|
||||||
NetManage.getOptionSwitch((res) => {
|
// NetManage.getOptionSwitch((res) => {
|
||||||
console.log('get switch' + JSON.stringify(res));
|
// console.log('get switch' + JSON.stringify(res));
|
||||||
if (res.open_list.includes(1)) {
|
// if (res.open_list.includes(1)) {
|
||||||
this.btn_task.active = true;
|
// this.btn_task.active = true;
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
},
|
},
|
||||||
start() {
|
start() {
|
||||||
//test
|
//test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user