fix:移动和pc自适应菜单
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import { useAuthStore } from '@/store/modules/auth';
|
||||
import { useRouter } from 'vue-router';
|
||||
import { computed } from 'vue';
|
||||
import { UserOutlined, LockOutlined, SafetyCertificateOutlined, MobileOutlined, RightOutlined} from '@ant-design/icons-vue';
|
||||
import { UserOutlined, LockOutlined, SafetyCertificateOutlined, MobileOutlined, RightOutlined, LinkOutlined, ApiOutlined, CalendarOutlined} from '@ant-design/icons-vue';
|
||||
import { useRouterPush } from '@/hooks/common/router';
|
||||
import {useI18n} from "vue-i18n";
|
||||
|
||||
@@ -42,7 +42,22 @@ const menuItems = [
|
||||
icon: MobileOutlined,
|
||||
title: t('page.usercard.deviceconsole'),
|
||||
path: 'device'
|
||||
}
|
||||
},
|
||||
{
|
||||
icon: LinkOutlined,
|
||||
title: t('page.usercard.access'),
|
||||
path: 'access'
|
||||
},
|
||||
{
|
||||
icon: ApiOutlined,
|
||||
title: t('page.usercard.records'),
|
||||
path: 'records'
|
||||
},
|
||||
{
|
||||
icon: CalendarOutlined,
|
||||
title: t('page.usercard.cdrlrecords'),
|
||||
path: 'cdrlrecords'
|
||||
},
|
||||
];
|
||||
|
||||
const handleMenuClick = (path: string) => {
|
||||
|
||||
Reference in New Issue
Block a user