From aaf8a50511d77dbc209ca93bbba308c21179a8bc Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期二, 31 三月 2026 15:38:47 +0800
Subject: [PATCH] #前端
---
rsf-design/src/store/modules/menu.js | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/rsf-design/src/store/modules/menu.js b/rsf-design/src/store/modules/menu.js
index db546d2..f7dded2 100644
--- a/rsf-design/src/store/modules/menu.js
+++ b/rsf-design/src/store/modules/menu.js
@@ -1,6 +1,5 @@
import { defineStore } from 'pinia'
import { ref } from 'vue'
-import { getFirstMenuPath } from '@/utils'
import { HOME_PAGE_PATH } from '@/router'
const useMenuStore = defineStore('menuStore', () => {
const homePath = ref(HOME_PAGE_PATH)
@@ -9,7 +8,7 @@
const removeRouteFns = ref([])
const setMenuList = (list) => {
menuList.value = list
- setHomePath(HOME_PAGE_PATH || getFirstMenuPath(list))
+ setHomePath(HOME_PAGE_PATH)
}
const getHomePath = () => homePath.value
const setHomePath = (path) => {
--
Gitblit v1.9.1