mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
fix: bug fix
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user