improve: 菜单及路由

This commit is contained in:
From-wh 2023-05-06 12:03:12 +08:00
parent bcf772705f
commit b7c2fc03e7
2 changed files with 3 additions and 23 deletions

View File

@ -130,6 +130,9 @@ export default {
</script>
<style scoped lang="scss">
/deep/ .el-scrollbar__bar.is-horizontal {
height: 0;
}
.el-menu-horizontal-warp {
flex: 1;
overflow: hidden;

View File

@ -12,29 +12,6 @@ import LayoutMain from '@/layout';
import setting from '@/setting';
let routePre = setting.routePre;
// export default {
// path: '/',
// name: 'home',
// redirect: '/admin/home',
// component: LayoutMain,
// meta: {
// hideInMenu: true,
// notCache: true,
// auth: true
// },
// children: [
// {
// path: 'admin/home',
// name: 'home',
// meta: {
// title: '首页',
// auth: ['admin-index-index']
// },
// component: () => import('@/pages/index/index')
// }
// ]
// }
const meta = {
auth: true,
};