框架结构修改

This commit is contained in:
zzyuan 2025-10-14 09:45:15 +08:00
parent e7144e35b5
commit 1de6e4bd90
3 changed files with 4 additions and 19 deletions

View File

@ -64,27 +64,13 @@ export const constantRoutes = [
{
path: '',
component: Layout,
redirect: '/canteen/index',
// children: [
// {
// path: 'index',
// component: () => import('@/views/index'),
// name: 'Index',
// meta: { title: '首页', icon: 'dashboard', affix: true }
// }
// ]
},
{
path: '/canteen',
component: Layout,
hidden: true,
redirect: 'noredirect',
redirect: '/index',
children: [
{
path: 'index',
component: () => import('@/views/index_v1'),
name: 'Profile',
meta: { title: '首页', icon: 'dashboard' }
name: 'Index',
meta: { title: '首页', icon: 'dashboard', affix: true }
}
]
},

View File

@ -12,7 +12,7 @@ module.exports = {
/**
* 是否显示顶部导航
*/
topNav: true,
topNav: false,
/**
* 是否显示 tagsView

View File

@ -90,7 +90,6 @@
<el-table-column label="槽位编号" align="center" prop="soltNo" :show-overflow-tooltip="true"/>
<el-table-column label="当前状态" align="center" prop="stateName" :show-overflow-tooltip="true"/>
<el-table-column label="是否电子标签" align="center" prop="isEleName" :show-overflow-tooltip="true"/>
</el-table>
<pagination