商城bug修复

This commit is contained in:
2025-08-27 17:00:20 +08:00
parent 5847393c50
commit 9535622893
5 changed files with 276 additions and 69 deletions

View File

@@ -248,7 +248,8 @@ const routes = [
path: '/pay',
name: 'Pay',
component: () => import('@/views/Pay.vue'),
meta: { title: '确认支付' }
meta: { title: '确认支付' },
props: route => ({ cartId: route.query.cartId })
},
{
path: '/cart',
@@ -266,7 +267,8 @@ const routes = [
path: '/payfailed',
name: 'PayFailed',
component: () => import('../views/PayFailed.vue'),
meta: { title: '确认支付' }
meta: { title: '确认支付' },
props: route => ({ cartId: route.query.cartId })
},
{
path: '/:pathMatch(.*)*',