商城bug修复
This commit is contained in:
@@ -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(.*)*',
|
||||
|
||||
Reference in New Issue
Block a user