mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-18 04:27:34 +08:00
fix: 修复 i18n-menu 工具函数外部调用导致的运行时错误
This commit is contained in:
@@ -122,7 +122,7 @@ function loadRecentSearches() {
|
||||
function getMenus(): NavMenu[] {
|
||||
let menus: NavMenu[] = []
|
||||
// 导航菜单
|
||||
getNavMenus().forEach(
|
||||
getNavMenus(t).forEach(
|
||||
item =>
|
||||
item &&
|
||||
menus.push({
|
||||
@@ -134,7 +134,7 @@ function getMenus(): NavMenu[] {
|
||||
}),
|
||||
)
|
||||
// 设置标签页
|
||||
getSettingTabs().forEach(
|
||||
getSettingTabs(t).forEach(
|
||||
item =>
|
||||
item &&
|
||||
menus.push({
|
||||
|
||||
Reference in New Issue
Block a user