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

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

export default routers;