mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 19:42:56 +08:00
fix(系统设置): 桌面版删除消息中心
This commit is contained in:
parent
299d98d110
commit
439c98abf2
@ -16,7 +16,6 @@ import dvPreviewDownload from '@/assets/svg/dv-preview-download.svg'
|
|||||||
import ToolboxCfg from './ToolboxCfg.vue'
|
import ToolboxCfg from './ToolboxCfg.vue'
|
||||||
import { findBaseParams } from '@/api/aiComponent'
|
import { findBaseParams } from '@/api/aiComponent'
|
||||||
import icon_more_outlined from '@/assets/svg/icon_more_outlined.svg'
|
import icon_more_outlined from '@/assets/svg/icon_more_outlined.svg'
|
||||||
import msgNotice from '@/assets/svg/msg-notice.svg'
|
|
||||||
import { usePermissionStore } from '@/store/modules/permission'
|
import { usePermissionStore } from '@/store/modules/permission'
|
||||||
import { useAppearanceStoreWithOut } from '@/store/modules/appearance'
|
import { useAppearanceStoreWithOut } from '@/store/modules/appearance'
|
||||||
import { msgCountApi } from '@/api/msg'
|
import { msgCountApi } from '@/api/msg'
|
||||||
@ -47,9 +46,6 @@ const redirectUser = () => {
|
|||||||
const kidPath = sysMenu.matched[0].children[0].path
|
const kidPath = sysMenu.matched[0].children[0].path
|
||||||
push(`${sysMenu.path}/${kidPath}`)
|
push(`${sysMenu.path}/${kidPath}`)
|
||||||
}
|
}
|
||||||
const msgNoticePush = () => {
|
|
||||||
push('/msg/msg-fill')
|
|
||||||
}
|
|
||||||
const initShowToolbox = () => {
|
const initShowToolbox = () => {
|
||||||
showToolbox.value = permissionStore.getRouters.some(route => route.path === '/toolbox')
|
showToolbox.value = permissionStore.getRouters.some(route => route.path === '/toolbox')
|
||||||
}
|
}
|
||||||
@ -94,18 +90,6 @@ onMounted(() => {
|
|||||||
<Icon><dvPreviewDownload @click="downloadClick" class="svg-icon" /></Icon>
|
<Icon><dvPreviewDownload @click="downloadClick" class="svg-icon" /></Icon>
|
||||||
</el-icon>
|
</el-icon>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<el-tooltip effect="dark" :content="$t('v_query.msg_center')" placement="bottom">
|
|
||||||
<el-badge
|
|
||||||
style="margin-left: 10px"
|
|
||||||
:hidden="[0, '0'].includes(badgeCount)"
|
|
||||||
:value="badgeCount"
|
|
||||||
class="ed-badge_custom"
|
|
||||||
>
|
|
||||||
<el-icon class="preview-download_icon" :class="navigateBg === 'light' && 'is-light-setting'">
|
|
||||||
<Icon><msgNotice @click="msgNoticePush" class="svg-icon" /></Icon>
|
|
||||||
</el-icon>
|
|
||||||
</el-badge>
|
|
||||||
</el-tooltip>
|
|
||||||
<el-tooltip
|
<el-tooltip
|
||||||
class="box-item"
|
class="box-item"
|
||||||
effect="dark"
|
effect="dark"
|
||||||
|
Loading…
Reference in New Issue
Block a user