From 6aeca4583eabdca69a58086cd9dd74a0d80e7d5f Mon Sep 17 00:00:00 2001 From: nextfu Date: Tue, 26 Jul 2022 20:05:42 +0800 Subject: [PATCH] test --- components.d.ts | 1 + release/preview-template/index.ejs | 42 ++++++++++++++++-------------- src/App.vue | 6 ++++- src/components/TreePanel.vue | 20 +++++++------- vite.config.ts | 3 +-- 5 files changed, 40 insertions(+), 32 deletions(-) diff --git a/components.d.ts b/components.d.ts index 53ed121..54f6137 100644 --- a/components.d.ts +++ b/components.d.ts @@ -10,6 +10,7 @@ declare module '@vue/runtime-core' { CCComponent: typeof import('./src/components/CCComponent.vue')['default'] CCNode: typeof import('./src/components/CCNode.vue')['default'] ElButton: typeof import('element-plus/es')['ElButton'] + ElCard: typeof import('element-plus/es')['ElCard'] ElCheckbox: typeof import('element-plus/es')['ElCheckbox'] ElColorPicker: typeof import('element-plus/es')['ElColorPicker'] ElInput: typeof import('element-plus/es')['ElInput'] diff --git a/release/preview-template/index.ejs b/release/preview-template/index.ejs index 2625eaa..79ffe89 100644 --- a/release/preview-template/index.ejs +++ b/release/preview-template/index.ejs @@ -18,30 +18,32 @@ - <%- include('./toolbar', {config: config}) %> -
- <% include ./dist/index.html %> -
-
-
- -
-
-
-
-
-
<%=tip_sceneIsEmpty%>
-
-
-
Error (Please open the console to see detailed errors)
-
+ <%- include(cocosToolBar, {config: config}) %> +
+ <%- include ./dist/index.html %> +
+
+
+
+ +
+
+
+
+
+
<%=tip_sceneIsEmpty%>
+
+
+
Error (Please open the console to see detailed errors)
+
+
+
-
<%- include(cocosTemplate, {}) %> - diff --git a/src/App.vue b/src/App.vue index 78f0707..83d43b8 100644 --- a/src/App.vue +++ b/src/App.vue @@ -12,7 +12,11 @@ let showTree = ref(false); 节点树
--> - + + + + +