From 27cee9a83547d5bf331581f01f88cd4d52323b29 Mon Sep 17 00:00:00 2001 From: yangyin <1850366751@qq.com> Date: 星期五, 15 十一月 2024 09:32:45 +0800 Subject: [PATCH] 修改指导页的bug --- 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