From 1476d27514874e9c95002451a81878bd9bec8382 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期六, 14 十二月 2024 15:36:53 +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