release: update 3.4.5

This commit is contained in:
xiaoxian521
2022-08-22 21:34:55 +08:00
parent 13427998f3
commit c07e60e114
133 changed files with 3481 additions and 3277 deletions

View File

@@ -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",

View File

@@ -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")
}

View File

@@ -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")
}
]