update
This commit is contained in:
parent
bfdc4f0212
commit
80d538ee33
File diff suppressed because it is too large
Load Diff
@ -183,17 +183,28 @@ cc.Class({
|
|||||||
default: null,
|
default: null,
|
||||||
type: cc.Node,
|
type: cc.Node,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
btn_shop: {
|
||||||
|
default: null,
|
||||||
|
type: cc.Node,
|
||||||
|
},
|
||||||
|
|
||||||
|
btn_acdemy: {
|
||||||
|
default: null,
|
||||||
|
type: cc.Node,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
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(2)) {
|
||||||
// this.btn_task.active = true;
|
this.btn_acdemy.active = true;
|
||||||
// }
|
this.btn_shop.active = true;
|
||||||
// });
|
}
|
||||||
|
});
|
||||||
},
|
},
|
||||||
start() {
|
start() {
|
||||||
//test
|
//test
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user