mirror of
https://github.com/pure-admin/pure-admin-thin.git
synced 2025-11-26 04:23:40 +08:00
release: update 3.4.5
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
import { $t } from "/@/plugins/i18n";
|
||||
const Layout = () => import("/@/layout/index.vue");
|
||||
import type { RouteConfigsTable } from "/#/index";
|
||||
|
||||
const errorRouter = {
|
||||
const errorRouter: RouteConfigsTable = {
|
||||
path: "/error",
|
||||
component: Layout,
|
||||
redirect: "/error/403",
|
||||
meta: {
|
||||
icon: "information-line",
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { $t } from "/@/plugins/i18n";
|
||||
import type { RouteConfigsTable } from "/#/index";
|
||||
const Layout = () => import("/@/layout/index.vue");
|
||||
|
||||
const homeRouter = {
|
||||
const homeRouter: RouteConfigsTable = {
|
||||
path: "/",
|
||||
name: "home",
|
||||
name: "Home",
|
||||
component: Layout,
|
||||
redirect: "/welcome",
|
||||
meta: {
|
||||
@@ -14,8 +15,8 @@ const homeRouter = {
|
||||
children: [
|
||||
{
|
||||
path: "/welcome",
|
||||
name: "welcome",
|
||||
component: () => import("/@/views/welcome.vue"),
|
||||
name: "Welcome",
|
||||
component: () => import("/@/views/welcome/index.vue"),
|
||||
meta: {
|
||||
title: $t("menus.hshome")
|
||||
}
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import { $t } from "/@/plugins/i18n";
|
||||
import type { RouteConfigsTable } from "/#/index";
|
||||
const Layout = () => import("/@/layout/index.vue");
|
||||
|
||||
const remainingRouter = [
|
||||
const remainingRouter: Array<RouteConfigsTable> = [
|
||||
{
|
||||
path: "/login",
|
||||
name: "login",
|
||||
name: "Login",
|
||||
component: () => import("/@/views/login/index.vue"),
|
||||
meta: {
|
||||
title: $t("menus.hslogin"),
|
||||
@@ -24,7 +25,7 @@ const remainingRouter = [
|
||||
children: [
|
||||
{
|
||||
path: "/redirect/:path(.*)",
|
||||
name: "redirect",
|
||||
name: "Redirect",
|
||||
component: () => import("/@/layout/redirect.vue")
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user