更改了购物车逻辑,增加了地址管理
This commit is contained in:
@@ -247,9 +247,21 @@ const routes = [
|
||||
{
|
||||
path: '/pay',
|
||||
name: 'Pay',
|
||||
component: () => import('../views/Pay.vue'),
|
||||
component: () => import('@/views/Pay.vue'),
|
||||
meta: { title: '确认支付' }
|
||||
},
|
||||
{
|
||||
path: '/cart',
|
||||
name: 'Cart',
|
||||
component: () => import('@/views/Cart.vue'),
|
||||
meta: { title: '购物车' }
|
||||
},
|
||||
{
|
||||
path: '/address',
|
||||
name: 'Address',
|
||||
component: () => import('@/views/Address.vue'),
|
||||
meta: { title: '地址管理', requiresAuth: true }
|
||||
},
|
||||
{
|
||||
path: '/payfailed',
|
||||
name: 'PayFailed',
|
||||
|
||||
Reference in New Issue
Block a user