优化专题内容
parent
0b5562a51f
commit
f2631e65c5
|
|
@ -58,9 +58,11 @@
|
||||||
import { PageEnum } from '@/enums/pageEnum';
|
import { PageEnum } from '@/enums/pageEnum';
|
||||||
import { router } from '@/router';
|
import { router } from '@/router';
|
||||||
import { useMessage } from '@/hooks/web/useMessage';
|
import { useMessage } from '@/hooks/web/useMessage';
|
||||||
|
import { useMultipleTabStore } from '@/store/modules/multipleTab';
|
||||||
|
|
||||||
type MenuEvent = 'logout' | 'doc' | 'lock' | 'api';
|
type MenuEvent = 'logout' | 'doc' | 'lock' | 'api';
|
||||||
const { createConfirm } = useMessage();
|
const { createConfirm } = useMessage();
|
||||||
|
const tabStore = useMultipleTabStore();
|
||||||
|
|
||||||
const MenuItem = createAsyncComponent(() => import('./DropMenuItem.vue'));
|
const MenuItem = createAsyncComponent(() => import('./DropMenuItem.vue'));
|
||||||
const LockAction = createAsyncComponent(() => import('../lock/LockModal.vue'));
|
const LockAction = createAsyncComponent(() => import('../lock/LockModal.vue'));
|
||||||
|
|
@ -101,6 +103,7 @@
|
||||||
title: () => h('span', t('sys.navigation.logoutTip')),
|
title: () => h('span', t('sys.navigation.logoutTip')),
|
||||||
content: () => h('span', t('sys.navigation.logoutMessage')),
|
content: () => h('span', t('sys.navigation.logoutMessage')),
|
||||||
onOk: async () => {
|
onOk: async () => {
|
||||||
|
tabStore.resetState();
|
||||||
await router.replace(PageEnum.SUBJECT_HOME);
|
await router.replace(PageEnum.SUBJECT_HOME);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -231,7 +231,7 @@
|
||||||
</div>
|
</div>
|
||||||
<Amend @register="registerModal" @success="handleSuccess" />
|
<Amend @register="registerModal" @success="handleSuccess" />
|
||||||
<a-modal
|
<a-modal
|
||||||
style="top:0px;left:0px;width:100vw;height:100vh;"
|
style="top: 0px; left: 0px; width: 100vw; height: 100vh"
|
||||||
v-model:open="showInfoOpen"
|
v-model:open="showInfoOpen"
|
||||||
title="详情"
|
title="详情"
|
||||||
:footer="null"
|
:footer="null"
|
||||||
|
|
@ -512,10 +512,8 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.pagination-div {
|
.pagination-div {
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
background: @component-background;
|
background: @component-background;
|
||||||
justify-content: center;
|
padding: 0 10px 10px;
|
||||||
}
|
}
|
||||||
.no-data {
|
.no-data {
|
||||||
padding: 20px 0;
|
padding: 20px 0;
|
||||||
|
|
@ -525,13 +523,13 @@
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .ant-modal-content{
|
::v-deep .ant-modal-content {
|
||||||
width:100vw;
|
width: 100vw;
|
||||||
height:100vh;
|
height: 100vh;
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .ant-modal .ant-modal-content{
|
::v-deep .ant-modal .ant-modal-content {
|
||||||
border-radius: 0px!important;
|
border-radius: 0px !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -118,9 +118,6 @@
|
||||||
message.error('跳转链接为空!');
|
message.error('跳转链接为空!');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (item.title == '后台管理') {
|
|
||||||
item.id = '';
|
|
||||||
}
|
|
||||||
if (item.isExternal) {
|
if (item.isExternal) {
|
||||||
window.location.href = item.linkOrApi;
|
window.location.href = item.linkOrApi;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue