import {RouteRecordRaw} from 'vue-router';
import Layout from '@/layout/Index.vue';

const Router: Array<RouteRecordRaw> = [{
  path: '/Withdrawal',
  name: 'Withdrawal',
  component: Layout,
  meta: {
    title: '提现管理',
    icon: 'home-2-line',
    breadcrumbHidden: true,
  },
  children: [
    // {
    //   path: 'WithdrawalAccount',
    //   name: 'WithdrawalAccount',
    //   component: () => import('@/views/Withdrawal/WithdrawalAccount/index.vue'),
    //   meta: {
    //     title: '提现账号管理',
    //     icon: 'home-2-line',
    //     noClosable: true,
    //   },
    // },
    {
      path: 'WithdrawalLog',
      name: 'WithdrawalLog',
      component: () => import('@/views/Withdrawal/WithdrawalLog/index.vue'),
      meta: {
        title: '提现管理',
        icon: 'home-2-line',
        noClosable: true,
      },
    },
  ],
},
];

export default Router;
