Commit 192908aa authored by liujiangnan's avatar liujiangnan

feat: 预览模式

parent 3f440c51
...@@ -489,7 +489,7 @@ ...@@ -489,7 +489,7 @@
"__id__": 2 "__id__": 2
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 11 "__id__": 11
......
...@@ -195,6 +195,7 @@ cc.Class({ ...@@ -195,6 +195,7 @@ cc.Class({
async initTips() { async initTips() {
if (this.data.tipSwitch == 0) { if (this.data.tipSwitch == 0) {
cc.find("btn_start", this.node).active = false; cc.find("btn_start", this.node).active = false;
this.videoPlayer.node.active = true;
return; return;
} }
this.startNode.active = true; this.startNode.active = true;
......
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