Commit 59ad42c0 authored by tttal's avatar tttal

@

parent 4236af29
......@@ -90,7 +90,7 @@
"__id__": 14
}
],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 68
......@@ -189,7 +189,7 @@
"array": [
0,
0,
510.0889628290344,
515.285115251741,
0,
0,
0,
......
......@@ -31,7 +31,7 @@ cc.Class({
try {
window.courseware.getData(function (res) {
this.data = res;
cc.find('Canvas').active = true;
cc.director.loadScene('index');
console.log(res);
}.bind(this));
} catch (error) {
......@@ -41,13 +41,14 @@ cc.Class({
text1: 'apple',
text2: 'bind',
};
cc.find('Canvas').active = true;
cc.director.loadScene('index');
}
},
/**
* 获取预设数据
*/
getTempData(key) {
console.log('getTempData');
return (this.data[key]);
},
save() {
......
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