From 8c21cf2e05daaf134c6ad5310c2cda1ea17e16ec Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Fri, 1 Aug 2025 16:16:00 +0800 Subject: [PATCH] fix: bug fix --- frontend/src/components/about/index.vue | 11 +---------- frontend/src/views/chat/index.vue | 2 +- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/frontend/src/components/about/index.vue b/frontend/src/components/about/index.vue index 983bd3db..ee72bee4 100644 --- a/frontend/src/components/about/index.vue +++ b/frontend/src/components/about/index.vue @@ -6,10 +6,7 @@ import type { F2CLicense } from './index.ts' import { licenseApi } from '@/api/license' import { ElMessage } from 'element-plus-secondary' import { useI18n } from 'vue-i18n' -//import { useUserStore } from '@/stores/user' -import { useCache } from '@/utils/useCache' const dialogVisible = ref(false) -const { wsCache } = useCache() const { t } = useI18n() //const userStore = useUserStore() const license: F2CLicense = reactive({ @@ -45,12 +42,6 @@ const beforeUpload = (file: any) => { return false } -const support = () => { - const url = 'https://support.fit2cloud.com/' - const openType = wsCache.get('open-backend') === '1' ? '_self' : '_blank' - window.open(url, openType) -} - const getLicenseInfo = () => { validateHandler((res: any) => { const info = getLicense(res) @@ -222,7 +213,7 @@ defineExpose({ line-height: 22px; text-align: center; margin-top: 16px; - color: #8F959E; + color: #8f959e; } .content { diff --git a/frontend/src/views/chat/index.vue b/frontend/src/views/chat/index.vue index 3354b877..281a7134 100644 --- a/frontend/src/views/chat/index.vue +++ b/frontend/src/views/chat/index.vue @@ -831,7 +831,7 @@ const assistantPrepareInit = () => { if (floatPopoverVisible.value) { let parentElement: any = event.target let isEdOverlay = false - while (!!parentElement) { + while (parentElement) { if (parentElement.className.includes('ed-overlay')) { isEdOverlay = true break