From c76922f37ddeeb3344304af453dd2f8befdedb89 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Tue, 30 Sep 2025 14:18:00 +0800
Subject: [PATCH] feat: app搭建调整
---
src/router/index.js | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index 1ba368a..41ec59c 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -4,21 +4,21 @@
* @LastEditors : yuan
* @LastEditTime : 2025-09-28 09:55:05
* @FilePath : \src\router\index.js
- * @Description :
- * Copyright 2025 OBKoro1, All Rights Reserved.
+ * @Description :
+ * Copyright 2025 OBKoro1, All Rights Reserved.
* 2025-09-28 09:31:16
*/
import pagesJson from "@/pages.json"
// 路径常量
-export const HOME_PATH = "/pages/tab/home/index"
-export const LOGIN_PATH = "/pages/common/login/index"
+export const HOME_PATH = "/pages/map/index"
+export const LOGIN_PATH = "/pages/login/index"
export const ERROR404_PATH = "/pages/common/404/index"
/**
* 解析路由地址
* @param {object} pagesJson
- * @returns [{"path": "/pages/tab/home/index","needLogin": false},...]
+ * @returns [{"path": "/pages/tab/map/index","needLogin": false},...]
*/
function parseRoutes (pagesJson = {}) {
if (!pagesJson.pages) {
--
Gitblit v1.9.3