Remove unused online editor modules
This commit is contained in:
@@ -6,15 +6,12 @@ import { useRouter } from 'vue-router';
|
||||
|
||||
import { AuthenticationLoginExpiredModal } from '@vben/common-ui';
|
||||
import { useWatermark } from '@vben/hooks';
|
||||
import { BookOpen } from '@vben/icons';
|
||||
import { BasicLayout, LockScreen, UserDropdown } from '@vben/layouts';
|
||||
import { $t } from '@vben/locales';
|
||||
import { preferences } from '@vben/preferences';
|
||||
import { useAccessStore, useUserStore } from '@vben/stores';
|
||||
import { openWindow } from '@vben/utils';
|
||||
|
||||
import { ElTooltip } from 'element-plus';
|
||||
|
||||
import NotificationPopup from '#/components/notification/NotificationPopup.vue';
|
||||
import { getFileUrl } from '#/composables/useFileUrl';
|
||||
import { useNotification } from '#/composables/useNotification';
|
||||
@@ -98,7 +95,6 @@ const menus = computed(() => [
|
||||
// },
|
||||
]);
|
||||
|
||||
const ZQ_PLATFORM_GITHUB_URL = 'https://github.com/jiangzhikj/zq-platform';
|
||||
const ZQ_PLATFORM_OFFICIAL_URL = 'https://zq-platform.com/';
|
||||
/** 双列仅第一列窄条展示时的短文案 */
|
||||
const ZQ_PLATFORM_BRAND_SHORT = 'ZQ Platform';
|
||||
@@ -125,11 +121,6 @@ watch(
|
||||
{ immediate: true },
|
||||
);
|
||||
|
||||
function handleOpenWiki() {
|
||||
const url = router.resolve('/wiki').href;
|
||||
window.open(url, '_blank');
|
||||
}
|
||||
|
||||
async function handleLogout() {
|
||||
await authStore.logout(false);
|
||||
}
|
||||
@@ -207,18 +198,6 @@ watch(
|
||||
@logout="handleLogout"
|
||||
/>
|
||||
</template>
|
||||
<template #header-right-55>
|
||||
<ElTooltip :content="$t('wiki.title')" placement="bottom">
|
||||
<div
|
||||
class="flex-center mr-2 cursor-pointer"
|
||||
@click="handleOpenWiki"
|
||||
>
|
||||
<BookOpen
|
||||
class="size-4 text-[var(--el-text-color-regular)] hover:text-[var(--el-color-primary)]"
|
||||
/>
|
||||
</div>
|
||||
</ElTooltip>
|
||||
</template>
|
||||
<template #notification>
|
||||
<NotificationPopup
|
||||
:dot="showDot || chatTotalUnread > 0"
|
||||
|
||||
Reference in New Issue
Block a user