import { InsertRowLeftOutlined } from '@ant-design/icons-vue'

export default [
  {
    path: '/community',
    name: 'community',
    redirect: '/community/list',
    meta: { title: '小区管理', sort: 1, icon: InsertRowLeftOutlined, isFullScreen: false },
    children: [
      {
        path: '/community/list',
        name: 'communityList',
        component: () => import('@/views/community/list/index.vue'),
        meta: { title: '小区列表', sort: 1, isFullScreen: false, keepAlive: true },
      },
      {
        path: '/community/detail',
        name: 'communityDetail',
        component: () => import('@/views/community/detail/index.vue'),
        meta: { title: '小区详情', isFullScreen: false, keepAlive: false, hidden: true },
      },
    ],
  },
]
