From 5ac8ce377412593519daff0920a2c2bee884be6f Mon Sep 17 00:00:00 2001 From: weitong Date: Mon, 6 Nov 2023 16:52:29 +0800 Subject: [PATCH] UI optimize --- .../src/components/monaco-editor/index.vue | 2 +- .../monaco-editor/{type.ts => types.ts} | 0 .../src/layout/components/aside/index.vue | 38 ++++++++++--------- .../web-ui/src/views/swagger/index.vue | 1 - 4 files changed, 21 insertions(+), 20 deletions(-) rename kyuubi-server/web-ui/src/components/monaco-editor/{type.ts => types.ts} (100%) diff --git a/kyuubi-server/web-ui/src/components/monaco-editor/index.vue b/kyuubi-server/web-ui/src/components/monaco-editor/index.vue index 4c387172a1a..a98a3f31b79 100644 --- a/kyuubi-server/web-ui/src/components/monaco-editor/index.vue +++ b/kyuubi-server/web-ui/src/components/monaco-editor/index.vue @@ -24,7 +24,7 @@ import * as monaco from 'monaco-editor' import { format } from 'sql-formatter' import EditorWorker from 'monaco-editor/esm/vs/editor/editor.worker?worker' - import { editorProps } from './type' + import { editorProps } from './types' import { useEditorStore } from '@/pinia/editor' import { ref, toRaw, watch, onBeforeUnmount, onMounted } from 'vue' diff --git a/kyuubi-server/web-ui/src/components/monaco-editor/type.ts b/kyuubi-server/web-ui/src/components/monaco-editor/types.ts similarity index 100% rename from kyuubi-server/web-ui/src/components/monaco-editor/type.ts rename to kyuubi-server/web-ui/src/components/monaco-editor/types.ts diff --git a/kyuubi-server/web-ui/src/layout/components/aside/index.vue b/kyuubi-server/web-ui/src/layout/components/aside/index.vue index 78cbbc7743c..be8121a3633 100644 --- a/kyuubi-server/web-ui/src/layout/components/aside/index.vue +++ b/kyuubi-server/web-ui/src/layout/components/aside/index.vue @@ -20,7 +20,7 @@
-
{{ version }}
+ {{ version }}
@@ -42,35 +42,37 @@