From 74c2d7a12ebe87d0ff65f80ee6161828a920d6dd Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期二, 31 十二月 2024 15:20:10 +0800 Subject: [PATCH] inputTip 组件提取 --- 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