From d5ef0fe419c0b3a83c3c73a63fb54353572a8103 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期二, 01 四月 2025 17:48:37 +0800 Subject: [PATCH] 修改布局 --- src/router/pathMap.ts | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/router/pathMap.ts b/src/router/pathMap.ts index 8a14d96..ed5b268 100644 --- a/src/router/pathMap.ts +++ b/src/router/pathMap.ts @@ -1,9 +1,10 @@ - /** * 閰嶇疆绫诲瀷涓鸿彍鍗曠殑璺敱閰嶇疆 * name 涓虹粍浠跺悕锛宯ame涓嶈兘閲嶅锛岄噸澶嶅彲鑳芥壘涓嶅埌 * */ + +import { deepClone } from "../utils/other"; export type PathRouteType = { name: String; @@ -13,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