From c007150566688c9cda80c7aecd784c9300dfab36 Mon Sep 17 00:00:00 2001 From: yangyin <1850366751@qq.com> Date: 星期三, 20 十一月 2024 14:26:30 +0800 Subject: [PATCH] 提交代码 --- src/router/pathMap.ts | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/router/pathMap.ts b/src/router/pathMap.ts index af4f767..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; @@ -12,10 +13,12 @@ path: String; 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