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 }}