diff --git a/README.md b/README.md index d868ffe..e27da36 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ccc-devtools v3.0.0 +# ccc-devtools v3.0.1 Cocos Creator 网页调试工具,运行时查看、修改节点树,实时更新节点属性,可视化缓存资源。 ## 功能 diff --git a/index.html b/index.html index 7268212..fd0eaae 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,7 @@ - +
Recompiling...
@@ -57,8 +57,52 @@ mdi-home
+ +
+
Recompiling...
+
+
+ +
+
+ Rotate +
+ + +
+ Show FPS +
+
+ FPS: +
+
+ Pause +
+
+ +
+
+ Recompile +
+
+
- + diff --git a/preview.js b/preview.js index 7c84b65..418b993 100644 --- a/preview.js +++ b/preview.js @@ -4,6 +4,7 @@ const app = new Vue({ theme: { dark: true } }), data: { + isShowTop: true, drawer: false, cacheDialog: false, cacheTitle: '', @@ -27,8 +28,13 @@ const app = new Vue({ componentsSchema: [], }, created() { + if (window.innerHeight === window.outerHeight) { // 手机端,chrome device模式 + this.isShowTop = false; + } this.waitCCInit().then(() => { - this.startUpdateTree(); + if (this.isShowTop) { + this.startUpdateTree(); + } initConsoleUtil(); }); }, diff --git a/version.json b/version.json index 1e087ed..737ba45 100644 --- a/version.json +++ b/version.json @@ -1,6 +1,6 @@ { "name": "ccc-devtools", - "version": "3.0.0", + "version": "3.0.1", "author": "Next", "repo": "https://github.com/potato47/ccc-devtools.git" } \ No newline at end of file