⬆️ update package

This commit is contained in:
landaiqing
2024-08-22 22:46:19 +08:00
parent 95f722fa93
commit 57a56ec5ef
7 changed files with 300 additions and 252 deletions

View File

@@ -1,11 +0,0 @@
export default [
{
path: '/test',
name: 'test',
component: () => import('@/views/TestTheme.vue'),
meta: {
requiresAuth: true,
title: '测试'
}
}
];

View File

@@ -1,27 +1,21 @@
/* eslint-disable */
// @ts-nocheck
import {createRouter, createWebHistory, Router, RouteRecordRaw} from 'vue-router';
import login from './modules/login';
import test from "@/router/modules/test.ts";
import useStore from "@/store";
import {message} from "ant-design-vue";
import {close, start} from '@/components/Nprogress/nprogress.ts';
import notFound from "@/router/modules/notFound.ts";
import landing from "@/router/modules/landing.ts";
import mainRouter from "@/router/modules/main_router.ts";
import notFound from "./modules/notFound.ts";
import landing from "./modules/landing.ts";
import mainRouter from "./modules/main_router.ts";
const routes: Array<RouteRecordRaw> = [
...login,
...notFound,
...landing,
...mainRouter,
...test,
{
path: '/:pathMatch(.*)',
redirect: '/404',
hidden: true
}
];