前后端接口对接

This commit is contained in:
2025-09-22 17:44:31 +08:00
commit fb974f1100
44 changed files with 4801 additions and 0 deletions

31
src/router/index.ts Normal file
View File

@@ -0,0 +1,31 @@
import { createRouter, createWebHistory } from 'vue-router';
const routes = [
{
path: '/',
name: 'IndexV2',
component: () => import('@/views/index_v2.vue')
},
{
path: '/index',
name: 'Index',
component: () => import('@/views/index.vue')
},
{
path: '/package-station',
name: 'PackageStation',
component: () => import('@/views/PackageStation.vue')
},
{
path: '/sse-test',
name: 'SSETest',
component: () => import('@/views/sse/sse-test.vue')
}
];
const router = createRouter({
history: createWebHistory(),
routes
});
export default router;