mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 06:20:50 +00:00
improve: 菜单及路由
This commit is contained in:
parent
bcf772705f
commit
b7c2fc03e7
@ -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;
|
||||
|
||||
@ -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,
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user