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