前端代码

This commit is contained in:
2026-08-13 22:35:13 +08:00
parent 9044bafdff
commit f1a0b17bb0
412 changed files with 36769 additions and 6617 deletions
+47
View File
@@ -0,0 +1,47 @@
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: '/scanUpload',
name: 'ScanUpload',
meta: {
title: '扫码上传',
client: true
},
component: () => import('@/view/media/scanUpload.vue')
},
{
path: '/forceChangePassword',
name: 'ForceChangePassword',
component: () => import('@/view/system/security/forceChangePassword.vue'),
meta: { title: '修改密码' }
},
{
path: '/:catchAll(.*)',
meta: {
closeTab: true
},
component: () => import('@/view/error/index.vue')
},
]
const router = createRouter({
history: createWebHashHistory(),
routes
})
export default router