0.0.1版本
This commit is contained in:
@@ -14,9 +14,9 @@ export const NOT_FOUND = {
|
||||
name: "notFound"
|
||||
}
|
||||
|
||||
export const REDIRECT_ROUTE_NAME = "Redirect"
|
||||
export const REDIRECT_ROUTE_NAME = "redirect"
|
||||
|
||||
export const DEFAULT_ROUTE_NAME = "Workplace"
|
||||
export const DEFAULT_ROUTE_NAME = "workplace"
|
||||
|
||||
/**
|
||||
* @description: 默认路由对象没有component,固定在router/constants.js文件查看
|
||||
|
||||
@@ -14,7 +14,7 @@ const DASHBOARD = {
|
||||
children: [
|
||||
{
|
||||
path: "workplace",
|
||||
name: "Workplace",
|
||||
name: "workplace",
|
||||
component: () => import("@/views/dashboard/workplace/index.vue"),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
@@ -26,9 +26,10 @@ const DASHBOARD = {
|
||||
},
|
||||
{
|
||||
path: "usercenter",
|
||||
name: "Usercenter",
|
||||
name: "usercenter",
|
||||
component: () => import("@/views/dashboard/usercenter/index.vue"),
|
||||
meta: {
|
||||
ignoreCache: false,
|
||||
requiresAuth: true,
|
||||
roles: ["*"],
|
||||
locale: "用户中心",
|
||||
@@ -38,7 +39,7 @@ const DASHBOARD = {
|
||||
},
|
||||
{
|
||||
path: "usermanage",
|
||||
name: "Usermanage",
|
||||
name: "usermanage",
|
||||
component: () => import("@/views/dashboard/usermanage/index.vue"),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
|
||||
@@ -2,7 +2,7 @@ import { DEFAULT_LAYOUT } from "../base"
|
||||
|
||||
const DATAMANAGE = {
|
||||
path: "/datamanage",
|
||||
name: "Datamanage",
|
||||
name: "datamanage",
|
||||
component: DEFAULT_LAYOUT, // () => import("@/layout/default-layout.vue")
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
@@ -14,7 +14,7 @@ const DATAMANAGE = {
|
||||
children: [
|
||||
{
|
||||
path: "dictmanage",
|
||||
name: "Dictmanage",
|
||||
name: "dictmanage",
|
||||
component: () => import("@/views/datamanage/dictmanage/index.vue"),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
@@ -26,7 +26,7 @@ const DATAMANAGE = {
|
||||
},
|
||||
{
|
||||
path: "projContact",
|
||||
name: "ProjContact",
|
||||
name: "projContact",
|
||||
component: () => import("@/views/datamanage/projContact/index.vue"),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
|
||||
@@ -2,7 +2,7 @@ import { DEFAULT_LAYOUT } from "../base"
|
||||
|
||||
const TESTMANAGE = {
|
||||
path: "/monitor",
|
||||
name: "Monitor",
|
||||
name: "monitor",
|
||||
component: DEFAULT_LAYOUT, // () => import("@/layout/default-layout.vue")
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
|
||||
@@ -2,7 +2,7 @@ import { DEFAULT_LAYOUT } from "../base"
|
||||
|
||||
const TESTMANAGE = {
|
||||
path: "/testmanage",
|
||||
name: "Testmanage",
|
||||
name: "testmanage",
|
||||
component: DEFAULT_LAYOUT, // () => import("@/layout/default-layout.vue")
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
@@ -14,7 +14,7 @@ const TESTMANAGE = {
|
||||
children: [
|
||||
{
|
||||
path: "projmanage",
|
||||
name: "Projmanage",
|
||||
name: "projmanage",
|
||||
component: () => import("@/views/testmanage/projmanage/index.vue"),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
|
||||
Reference in New Issue
Block a user