From 21bd4f0a936a77dca7a81f21b670c5b01f52e349 Mon Sep 17 00:00:00 2001
From: wujingjing <gersonwu@qq.com>
Date: 星期四, 26 十二月 2024 12:01:50 +0800
Subject: [PATCH] 修改文案;userInfo 存的数据结构

---
 src/api/menu/index.ts |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/api/menu/index.ts b/src/api/menu/index.ts
index 588a332..537556c 100644
--- a/src/api/menu/index.ts
+++ b/src/api/menu/index.ts
@@ -1,6 +1,6 @@
 import { GetUserMenuTree } from '/@/api/login/index.js';
 import { MenuTypeEnum } from '/@/api/menu/type';
-import { PathRouteType } from '/@/router/pathMap';
+import type { PathRouteType } from '/@/router/pathMap';
 import request, { getSession } from '/@/utils/request';
 /**
  * 浠ヤ笅涓烘ā鎷熸帴鍙e湴鍧�锛実itee 鐨勪笉閫氾紝灏辨崲鑷繁鐨勭湡瀹炴帴鍙e湴鍧�
@@ -151,6 +151,7 @@
 						resultAny.meta.isAffix = pathRoute.isAffix;
 						resultAny.meta.isKeepAlive = pathRoute.isKeepAlive;
 						resultAny.meta.showTitle = pathRoute.showTitle;
+						resultAny.meta.showBack = !!pathRoute.showBack;
 						// 灏� pathMap 鐨� value 缃负褰撳墠 result
 						pathMap.set(item.Path, result as any);
 					}

--
Gitblit v1.9.3