|
|
@@ -10,7 +10,7 @@
|
|
|
<el-badge type="danger" :is-dot="noticeStore.unreadList.length > 0">
|
|
|
<app-icon icon="g-icon--notice" @click="openComponent('notice')" />
|
|
|
</el-badge>
|
|
|
- <!-- <app-icon icon="Tickets" @click="openComponent('report')" /> -->
|
|
|
+ <app-icon icon="Tickets" @click="openComponent('report')" />
|
|
|
<app-icon icon="Setting" @click="openComponent('setting')" />
|
|
|
<span class="g-icon--minimize" @click="exitFullSreen" v-if="fullScreen"></span>
|
|
|
<span class="g-icon--maximize" @click="setFullSreen" v-else></span>
|
|
|
@@ -49,7 +49,7 @@ import { localData } from '@/stores/storage'
|
|
|
const componentMap = new Map<string, unknown>([
|
|
|
['notice', defineAsyncComponent(() => import('./components/notice/index.vue'))],
|
|
|
['modify', defineAsyncComponent(() => import('./components/modify/index.vue'))],
|
|
|
- ['cancel', defineAsyncComponent(() => import('./components/cancel/index.vue'))],
|
|
|
+ // ['cancel', defineAsyncComponent(() => import('./components/cancel/index.vue'))],
|
|
|
['avater', defineAsyncComponent(() => import('./components/avater/index.vue'))],
|
|
|
['report', defineAsyncComponent(() => import('./components/report/index.vue'))],
|
|
|
['setting', defineAsyncComponent(() => import('./components/setting/index.vue'))],
|
|
|
@@ -80,7 +80,7 @@ const exitFullSreen = () => {
|
|
|
onMounted(() => {
|
|
|
/// 如果未同意 或者跨天
|
|
|
if (!localData.getValue('isReportAgree') || diffDays(localData.getValue('reportTime')) > 0) {
|
|
|
- //openComponent('report')
|
|
|
+ openComponent('report')
|
|
|
}
|
|
|
// 监听全屏变化
|
|
|
window.addEventListener('fullscreenchange', () => {
|