From a762b59c2c4b459f72ede19716d476bb3513f622 Mon Sep 17 00:00:00 2001
From: gerson <1405270578@qq.com>
Date: 星期四, 20 二月 2025 08:27:57 +0800
Subject: [PATCH] 获取位置

---
 src/router/pathMap.ts |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/router/pathMap.ts b/src/router/pathMap.ts
index 7877e42..ed5b268 100644
--- a/src/router/pathMap.ts
+++ b/src/router/pathMap.ts
@@ -4,6 +4,8 @@
  *
  */
 
+import { deepClone } from "../utils/other";
+
 export type PathRouteType = {
 	name: String;
 	isKeepAlive: Boolean;
@@ -12,10 +14,11 @@
 	component: String;
 	redirect?: String;
 	showTitle:boolean;
+	showBack:boolean;
 };
 
 const pathArr = window.route;
-
+const cloneData = deepClone(pathArr);
 const pathArrMap = pathArr.map((item) => {
 	const path = item.path;
 	const mapArr: [String, PathRouteType] = [path, item];

--
Gitblit v1.9.3