update service list

This commit is contained in:
AceDataCloud committed 2022-12-29 18:51:17 +08:00
1 parent 0ae8c4a003
commit 7e38c8944a
29 files changed
+270 -470

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
import { t } from '../i18n';
export default {
path: '/auth',
name: 'auth',
meta: {
title: t('common.nav.content')
},
component: () => import('@/layouts/Auth.vue'),
children: [
{
path: 'login',
name: 'auth-login',
meta: {
title: t('common.nav.article')
},
component: () => import('@/pages/auth/Login.vue')
},
{
path: 'callback',
name: 'auth-callback',
meta: {
title: t('common.nav.article')
},
component: () => import('@/pages/auth/Callback.vue')
}
]
};
+3 -1
View File
@@ -1,5 +1,6 @@
import { createRouter, createWebHistory, createWebHashHistory } from 'vue-router';
import service from './service';
import auth from './auth';
import store from '@/store';
const routes = [
@@ -8,7 +9,8 @@ const routes = [
name: 'home',
redirect: '/services'
},
service
service,
auth
];
const router = createRouter({