⬆️ update package
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
export default [
|
||||
{
|
||||
path: '/test',
|
||||
name: 'test',
|
||||
component: () => import('@/views/TestTheme.vue'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: '测试'
|
||||
}
|
||||
}
|
||||
];
|
@@ -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
|
||||
}
|
||||
];
|
||||
|
||||
|
Reference in New Issue
Block a user