From de64b9a7663e2a180fb2f4f3389ac46d1c1d347e Mon Sep 17 00:00:00 2001 From: shikong <919411476@qq.com> Date: Mon, 19 Feb 2024 01:29:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/App.vue | 4 --- .../src/components/markdown/tui-editor.vue | 33 +++++++++++++------ 2 files changed, 23 insertions(+), 14 deletions(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 8896216..b59cda4 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -6,10 +6,6 @@ import {useGlobalConfig} from "@/stores/globalConfig"; import {watch,onBeforeUnmount } from "vue"; import {useMagicKeys, whenever} from "@vueuse/core"; import {destroyDebugger, switchDebugger} from "@/utils/debugger/eruda"; -import {useRoute} from "vue-router"; - -let routeLocationNormalizedLoaded = useRoute(); -console.log(routeLocationNormalizedLoaded) const {t, availableLocales: languages, locale} = useI18n(); let globalConfig = useGlobalConfig(); diff --git a/frontend/src/components/markdown/tui-editor.vue b/frontend/src/components/markdown/tui-editor.vue index 7afaa16..4e7af60 100644 --- a/frontend/src/components/markdown/tui-editor.vue +++ b/frontend/src/components/markdown/tui-editor.vue @@ -1,17 +1,28 @@