Skip to content

Commit 8c21cf2

Browse files
committed
fix: bug fix
1 parent 525a680 commit 8c21cf2

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

frontend/src/components/about/index.vue

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ import type { F2CLicense } from './index.ts'
66
import { licenseApi } from '@/api/license'
77
import { ElMessage } from 'element-plus-secondary'
88
import { useI18n } from 'vue-i18n'
9-
//import { useUserStore } from '@/stores/user'
10-
import { useCache } from '@/utils/useCache'
119
const dialogVisible = ref(false)
12-
const { wsCache } = useCache()
1310
const { t } = useI18n()
1411
//const userStore = useUserStore()
1512
const license: F2CLicense = reactive({
@@ -45,12 +42,6 @@ const beforeUpload = (file: any) => {
4542
return false
4643
}
4744
48-
const support = () => {
49-
const url = 'https://support.fit2cloud.com/'
50-
const openType = wsCache.get('open-backend') === '1' ? '_self' : '_blank'
51-
window.open(url, openType)
52-
}
53-
5445
const getLicenseInfo = () => {
5546
validateHandler((res: any) => {
5647
const info = getLicense(res)
@@ -222,7 +213,7 @@ defineExpose({
222213
line-height: 22px;
223214
text-align: center;
224215
margin-top: 16px;
225-
color: #8F959E;
216+
color: #8f959e;
226217
}
227218
228219
.content {

frontend/src/views/chat/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ const assistantPrepareInit = () => {
831831
if (floatPopoverVisible.value) {
832832
let parentElement: any = event.target
833833
let isEdOverlay = false
834-
while (!!parentElement) {
834+
while (parentElement) {
835835
if (parentElement.className.includes('ed-overlay')) {
836836
isEdOverlay = true
837837
break

0 commit comments

Comments
 (0)