先去掉登录

This commit is contained in:
李志鹏
2026-05-29 10:04:47 +08:00
parent 6415523eef
commit 57f8559020
4 changed files with 64 additions and 45 deletions

View File

@@ -54,43 +54,43 @@ export const routes: RouteRecordRaw[] = [
name: 'help-centre',
component: () => import('./pages/help-centre/index.vue')
},
{
path: 'my-account',
name: 'MyAccount',
component: () => import('./pages/my-account/index.vue'),
children: [
{
path: '',
name: 'welcome',
component: () => import('./pages/my-account/welcome.vue'),
},
{
path: 'orders',
name: 'orders',
component: () => import('./pages/my-account/orders.vue'),
},
{
path: 'subscriptions',
name: 'subscriptions',
component: () => import('./pages/my-account/subscriptions.vue'),
},
{
path: 'address',
name: 'address',
component: () => import('./pages/my-account/address.vue'),
},
{
path: 'payment-methods',
name: 'payment-methods',
component: () => import('./pages/my-account/payment-methods.vue'),
},
{
path: ':pathMatch(.*)*',
name: 'not-found-welcome',
component: () => import('./pages/my-account/welcome.vue'),
},
]
},
// {
// path: 'my-account',
// name: 'MyAccount',
// component: () => import('./pages/my-account/index.vue'),
// children: [
// {
// path: '',
// name: 'welcome',
// component: () => import('./pages/my-account/welcome.vue'),
// },
// {
// path: 'orders',
// name: 'orders',
// component: () => import('./pages/my-account/orders.vue'),
// },
// {
// path: 'subscriptions',
// name: 'subscriptions',
// component: () => import('./pages/my-account/subscriptions.vue'),
// },
// {
// path: 'address',
// name: 'address',
// component: () => import('./pages/my-account/address.vue'),
// },
// {
// path: 'payment-methods',
// name: 'payment-methods',
// component: () => import('./pages/my-account/payment-methods.vue'),
// },
// {
// path: ':pathMatch(.*)*',
// name: 'not-found-welcome',
// component: () => import('./pages/my-account/welcome.vue'),
// },
// ]
// },
{ path: 'privacy-policy',
name: 'privacy-policy',
component: () => import('./pages/others/privacy-policy.vue')