diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index 87ffd1e5..2848164c 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -195,22 +195,6 @@ const remainingRouter: AppRouteRecordRaw[] = [ noTagsView: true } }, - { - path: '/trade/order', - component: Layout, - name: 'order', - meta: { - hidden: true - }, - children: [ - { - path: 'detail', - name: 'TradeOrderDetail', - component: () => import('@/views/mall/trade/order/tradeOrderDetail.vue'), - meta: { title: '订单详情', hidden: true } - } - ] - }, { path: '/403', component: () => import('@/views/Error/403.vue'), @@ -411,7 +395,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ { path: '/trade/order', component: Layout, - name: 'Detail', + name: 'Order', meta: { hidden: true }, @@ -419,7 +403,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ { path: 'detail/:orderId(\\d+)', component: () => import('@/views/mall/trade/order/detail/index.vue'), - name: 'TradeOrderDetailForm', + name: 'TradeOrderDetail', meta: { title: '订单详情', icon: '', activeMenu: '/trade/trade/order' } } ] diff --git a/src/views/mall/trade/order/index.vue b/src/views/mall/trade/order/index.vue index 89200465..d4bb6642 100644 --- a/src/views/mall/trade/order/index.vue +++ b/src/views/mall/trade/order/index.vue @@ -149,14 +149,14 @@ :data="scope.row.items" :header-cell-style="headerStyle" :span-method="spanMethod" - border + :border="true" style="width: 100%" >