From 264a29e4515c67d011663a70c7ab3f191e20bd4b Mon Sep 17 00:00:00 2001 From: puhui999 Date: Thu, 31 Aug 2023 16:39:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=AE=A2=E5=8D=95=E5=92=8C?= =?UTF-8?q?=E5=94=AE=E5=90=8E=E9=80=80=E6=AC=BE=E8=AF=A6=E6=83=85=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/modules/remaining.ts | 8 ++++---- src/views/mall/trade/order/form/OrderDeliveryForm.vue | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index 1a3e5b20..c6c95e80 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -393,7 +393,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ ] }, { - path: '/trade/order', + path: '/trade', component: Layout, name: 'Order', meta: { @@ -401,13 +401,13 @@ const remainingRouter: AppRouteRecordRaw[] = [ }, children: [ { - path: 'orderDetail/:orderId(\\d+)', // TODO @puhui999:路径合理的是 trade/order/detail + path: 'order/detail/:orderId(\\d+)', component: () => import('@/views/mall/trade/order/detail/index.vue'), - name: 'TradeOrderDetail', // TODO @puhui999:路径合理的是 trade/after-sale/detail + name: 'TradeOrderDetail', meta: { title: '订单详情', icon: '', activeMenu: '/trade/trade/order' } }, { - path: 'afterSaleDetail/:orderId(\\d+)', + path: 'after-sale/detail/:orderId(\\d+)', component: () => import('@/views/mall/trade/afterSale/detail/index.vue'), name: 'TradeAfterSaleDetail', meta: { title: '退款详情', icon: '', activeMenu: '/trade/trade/after-sale' } diff --git a/src/views/mall/trade/order/form/OrderDeliveryForm.vue b/src/views/mall/trade/order/form/OrderDeliveryForm.vue index 6d4a07c4..14f9411d 100644 --- a/src/views/mall/trade/order/form/OrderDeliveryForm.vue +++ b/src/views/mall/trade/order/form/OrderDeliveryForm.vue @@ -34,7 +34,6 @@ import * as DeliveryExpressApi from '@/api/mall/trade/delivery/express' import * as TradeOrderApi from '@/api/mall/trade/order' import { copyValueToTarget } from '@/utils' -// TODO @puhui999:要不 Form 保持和别的模块一样,和 index.vue 放在一个目录下,不作为 components;components 更多要支持给多个模块使用哈。 defineOptions({ name: 'OrderDeliveryForm' }) const { t } = useI18n() // 国际化