import type { AppRouteModule } from '@/router/types';
import { LAYOUT } from '@/router/constant'; //去掉此组件即可!
import { t } from '@/hooks/web/useI18n';
const otaupdate: AppRouteModule = {
path: '/otaupdate',
name: 'OTAUpdate',
component: LAYOUT, //去掉此组件即可!
redirect: '/otaupdate/index',
meta: {
hideChildrenInMenu: false,
icon: 'ant-design:node-index-outlined',
title: t('routes.otaupdate.OTAUpdate'),
orderNo: 32,
code: 'M00004',
},
children: [
{
path: 'index',
name: 'otaupdateList',
component: () => import('/@/views/otaupdate/index.vue'),
meta: {
title: t('routes.otaupdate.OTAUpdate'),
hideMenu: true,
code: 'M00004',
},
},
],
};
export default otaupdate;
vben admin点击目录跳转到全屏的界面:
最新推荐文章于 2024-06-07 11:02:37 发布