index.js 445 Bytes
const routers = [
  // 订单列表
  // owner: {sell, buy} 订单来源
  // status: 订单状态 sellerOrderStatus | buyerOrderStatus
  {
    name: 'OrderList',
    path: '/xianyu/:owner/order/list/:status?',
    component: () => import('./order-list'),
  },

  // 出售订单列表
  {
    name: 'InSaleOrderList',
    path: '/xianyu/in/sale/order/list',
    component: () => import('./in-sell-order-list'),
  },
];

export default routers;