From 466619c06e70f83f07613b87569ae2f8f90d4b9e Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Thu, 13 Oct 2022 10:38:46 +0800
Subject: [PATCH] 更改homee文件名和路由
---
src/router/page/index.js | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/router/page/index.js b/src/router/page/index.js
index 571a2f0..a2993b0 100644
--- a/src/router/page/index.js
+++ b/src/router/page/index.js
@@ -64,6 +64,8 @@
const pcTechniqueSpace = () => import('../../pcviews/technique/space.vue')
const pcTechniqueGraph = () => import('../../pcviews/technique/graph.vue')
const pcTechniquePath = () => import('../../pcviews/technique/path.vue')
+const pcHomepage = () => import('../../pcviews/homepage/index.vue')
+const pcLogin = () => import('../../pcviews/Login/index.vue')
const routes = [
// 大屏页面
@@ -81,16 +83,16 @@
{
path: '/login',
name: 'login',
- component: resolve => require(['../../pcviews/Login/index.vue'], resolve),
+ component: pcLogin,
meta: {
title: '登录页',
isAuth: false
}
},
{
- path: '/homee',
- name: 'homee',
- component: resolve => require(['../../pcviews/homee/index.vue'], resolve),
+ path: '/homepage',
+ name: 'homepage',
+ component: pcHomepage,
meta: {
title: '首页',
isAuth: false
--
Gitblit v1.9.3