From 969725647117eb7ca148b2e8cfa9ec8b5eb432fa Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期二, 22 十月 2024 11:04:10 +0800 Subject: [PATCH] 工艺缓存优化 --- src/views/sys/login/Login.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/sys/login/Login.vue b/src/views/sys/login/Login.vue index ac33a76..fc2147e 100644 --- a/src/views/sys/login/Login.vue +++ b/src/views/sys/login/Login.vue @@ -24,7 +24,8 @@ class="w-1/2 -mt-16 -enter-x" /> --> <div class="mt-10 font-medium text-white -enter-x"> - <span class="inline-block mt-4 text-3xl"> {{ t('楦块箘鏅鸿兘鏅洪�燤ES绯荤粺') }}</span> + <span v-if="!IsMes" class="inline-block mt-4 text-3xl"> {{ t('楦块箘鏅鸿兘鏅洪�燱MS绯荤粺') }}</span> + <span v-if="IsMes" class="inline-block mt-4 text-3xl"> {{ t('楦块箘鏅鸿兘鏅洪�燤ES绯荤粺') }}</span> </div> <div class="mt-5 font-normal text-white dark:text-gray-500 -enter-x"> {{ t('鏈潵鍙 鏁板瓧鍖栨櫤閫犲钩鍙�') }} @@ -53,7 +54,7 @@ import { useDesign } from '@/hooks/web/useDesign'; import { useI18n } from '@/hooks/web/useI18n'; import { useLocaleStore } from '@/store/modules/locale'; - import { computed } from 'vue'; + import { computed, ref } from 'vue'; import ForgetPasswordForm from './ForgetPasswordForm.vue'; import LoginForm from './LoginForm.vue'; import MobileForm from './MobileForm.vue'; @@ -72,6 +73,7 @@ const localeStore = useLocaleStore(); const showLocale = localeStore.getShowPicker; const title = computed(() => globSetting?.title ?? ''); + const IsMes = ref(globSetting.systemType == 'MES'); </script> <style lang="less"> @prefix-cls: ~'@{namespace}-login'; -- Gitblit v1.9.3