From edbad0c914ccd6a3f60d6b66be888da625a37e1a Mon Sep 17 00:00:00 2001 From: xlsea Date: Fri, 21 Jun 2024 10:42:40 +0800 Subject: [PATCH] =?UTF-8?q?style(sj=5Fmap=5Freduce):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8F=B7=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/workflow/modules/detail/branch-desc.vue | 2 +- src/layouts/modules/global-footer/index.vue | 4 ++-- src/views/_builtin/login/index.vue | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/workflow/modules/detail/branch-desc.vue b/src/components/workflow/modules/detail/branch-desc.vue index daf47f0..f4983ca 100644 --- a/src/components/workflow/modules/detail/branch-desc.vue +++ b/src/components/workflow/modules/detail/branch-desc.vue @@ -24,7 +24,7 @@ const theme = ref({ fontSize: '18px' }, '.cm-scroller': { - height: '520px', + minHeight: '180px', overflowY: 'auto', overflowX: 'hidden' } diff --git a/src/layouts/modules/global-footer/index.vue b/src/layouts/modules/global-footer/index.vue index d9a01f0..7fc8a1e 100644 --- a/src/layouts/modules/global-footer/index.vue +++ b/src/layouts/modules/global-footer/index.vue @@ -7,13 +7,13 @@ defineOptions({ }); const { VITE_APP_VERSION } = import.meta.env; -const version = ref(`v${localStg.get('version') || VITE_APP_VERSION}`); +const version = ref(`${localStg.get('version') || VITE_APP_VERSION}`); diff --git a/src/views/_builtin/login/index.vue b/src/views/_builtin/login/index.vue index fe926fc..5a7a5a3 100644 --- a/src/views/_builtin/login/index.vue +++ b/src/views/_builtin/login/index.vue @@ -19,7 +19,7 @@ interface Props { const props = defineProps(); const { VITE_APP_VERSION } = import.meta.env; -const version = ref(`v${localStg.get('version') || VITE_APP_VERSION}`); +const version = ref(`${localStg.get('version') || VITE_APP_VERSION}`); const getVersion = async () => { const { data, error } = await fetchVersion(); @@ -73,7 +73,7 @@ const href = (url: string) => {

{{ $t('system.title') }} - {{ version }} + v{{ version }}