feat: 使用prettierrc对代码进行格式化

This commit is contained in:
piexlMax(奇淼
2024-11-09 10:32:26 +08:00
parent 87a4ce17e1
commit 7d9af64f6d
139 changed files with 12677 additions and 12656 deletions
+22 -21
View File
@@ -1,31 +1,32 @@
import { createRouter, createWebHashHistory } from 'vue-router'
const routes = [{
path: '/',
redirect: '/login'
},
{
path: '/init',
name: 'Init',
component: () => import('@/view/init/index.vue')
},
{
path: '/login',
name: 'Login',
component: () => import('@/view/login/index.vue')
},
{
path: '/:catchAll(.*)',
meta: {
closeTab: true,
const routes = [
{
path: '/',
redirect: '/login'
},
component: () => import('@/view/error/index.vue')
}
{
path: '/init',
name: 'Init',
component: () => import('@/view/init/index.vue')
},
{
path: '/login',
name: 'Login',
component: () => import('@/view/login/index.vue')
},
{
path: '/:catchAll(.*)',
meta: {
closeTab: true
},
component: () => import('@/view/error/index.vue')
}
]
const router = createRouter({
history: createWebHashHistory(),
routes,
routes
})
export default router