框架结构修改

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: '', path: '',
component: Layout, component: Layout,
redirect: '/canteen/index', redirect: '/index',
// children: [
// {
// path: 'index',
// component: () => import('@/views/index'),
// name: 'Index',
// meta: { title: '首页', icon: 'dashboard', affix: true }
// }
// ]
},
{
path: '/canteen',
component: Layout,
hidden: true,
redirect: 'noredirect',
children: [ children: [
{ {
path: 'index', path: 'index',
component: () => import('@/views/index_v1'), component: () => import('@/views/index_v1'),
name: 'Profile', name: 'Index',
meta: { title: '首页', icon: 'dashboard' } meta: { title: '首页', icon: 'dashboard', affix: true }
} }
] ]
}, },

View File

@ -12,7 +12,7 @@ module.exports = {
/** /**
* 是否显示顶部导航 * 是否显示顶部导航
*/ */
topNav: true, topNav: false,
/** /**
* 是否显示 tagsView * 是否显示 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="soltNo" :show-overflow-tooltip="true"/>
<el-table-column label="当前状态" align="center" prop="stateName" :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-column label="是否电子标签" align="center" prop="isEleName" :show-overflow-tooltip="true"/>
</el-table> </el-table>
<pagination <pagination