fix: bug fix

This commit is contained in:
dataeaseShu
2025-08-01 16:16:00 +08:00
parent 525a680fb9
commit 8c21cf2e05
2 changed files with 2 additions and 11 deletions
+1 -10
View File
@@ -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 {
+1 -1
View File
@@ -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