fix(menu): 修复两级菜单结构和嵌套问题

1. 菜单类型默认值改为 TOP_LEFT(顶部一级+左侧二级)
2. 二级菜单 component 设为空字符串避免嵌套布局
3. 前端和后端菜单数据同步更新

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-06-12 20:02:47 +08:00
1 parent e6350d5e33
commit 7f7979679f
29 files changed
+720 -200

No files matched your search

+13 -13
View File
@@ -4696,7 +4696,7 @@
"label": "logSidebarMenu()",
"file_type": "code",
"source_file": "components/core/layouts/art-menus/art-sidebar-menu/index.vue",
"source_location": "L158",
"source_location": "L159",
"id": "art_sidebar_menu_index_logsidebarmenu",
"community": 52,
"norm_label": "logsidebarmenu()"
@@ -4705,7 +4705,7 @@
"label": "if()",
"file_type": "code",
"source_file": "components/core/layouts/art-menus/art-sidebar-menu/index.vue",
"source_location": "L249",
"source_location": "L271",
"id": "art_sidebar_menu_index_if",
"community": 52,
"norm_label": "if()"
@@ -11212,7 +11212,7 @@
"label": "fetchQcMaterialLinkedTaskUsages()",
"file_type": "code",
"source_file": "api/qc-material-usage.ts",
"source_location": "L87",
"source_location": "L84",
"id": "api_qc_material_usage_fetchqcmateriallinkedtaskusages",
"community": 0,
"norm_label": "fetchqcmateriallinkedtaskusages()"
@@ -11221,7 +11221,7 @@
"label": "fetchMyQcMaterialUsageList()",
"file_type": "code",
"source_file": "api/qc-material-usage.ts",
"source_location": "L93",
"source_location": "L90",
"id": "api_qc_material_usage_fetchmyqcmaterialusagelist",
"community": 0,
"norm_label": "fetchmyqcmaterialusagelist()"
@@ -27756,7 +27756,7 @@
"relation": "imports_from",
"confidence": "EXTRACTED",
"source_file": "components/core/layouts/art-menus/art-sidebar-menu/index.vue",
"source_location": "L142",
"source_location": "L143",
"weight": 1.0,
"_src": "components_core_layouts_art_menus_art_sidebar_menu_index_vue",
"_tgt": "components_core_layouts_art_menus_art_sidebar_menu_widget_sidebarsubmenu_vue",
@@ -27768,7 +27768,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "components/core/layouts/art-menus/art-sidebar-menu/index.vue",
"source_location": "L158",
"source_location": "L159",
"weight": 1.0,
"_src": "components_core_layouts_art_menus_art_sidebar_menu_index_vue",
"_tgt": "art_sidebar_menu_index_logsidebarmenu",
@@ -27780,7 +27780,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "components/core/layouts/art-menus/art-sidebar-menu/index.vue",
"source_location": "L249",
"source_location": "L271",
"weight": 1.0,
"_src": "components_core_layouts_art_menus_art_sidebar_menu_index_vue",
"_tgt": "art_sidebar_menu_index_if",
@@ -27792,7 +27792,7 @@
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "components/core/layouts/art-menus/art-sidebar-menu/index.vue",
"source_location": "L250",
"source_location": "L272",
"weight": 1.0,
"_src": "art_sidebar_menu_index_if",
"_tgt": "art_sidebar_menu_index_logsidebarmenu",
@@ -39648,7 +39648,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/qc-material-usage.ts",
"source_location": "L87",
"source_location": "L84",
"weight": 1.0,
"_src": "api_qc_material_usage_ts",
"_tgt": "api_qc_material_usage_fetchqcmateriallinkedtaskusages",
@@ -39660,7 +39660,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/qc-material-usage.ts",
"source_location": "L93",
"source_location": "L90",
"weight": 1.0,
"_src": "api_qc_material_usage_ts",
"_tgt": "api_qc_material_usage_fetchmyqcmaterialusagelist",
@@ -39685,7 +39685,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "api/qc-material-usage.ts",
"source_location": "L81",
"source_location": "L78",
"weight": 1.0,
"_src": "api_qc_material_usage_fetchqcmaterialrequisitionoptions",
"_tgt": "process_processroutetab_get",
@@ -39697,7 +39697,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "api/qc-material-usage.ts",
"source_location": "L88",
"source_location": "L85",
"weight": 1.0,
"_src": "api_qc_material_usage_fetchqcmateriallinkedtaskusages",
"_tgt": "process_processroutetab_get",
@@ -39709,7 +39709,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "api/qc-material-usage.ts",
"source_location": "L103",
"source_location": "L100",
"weight": 1.0,
"_src": "api_qc_material_usage_fetchmyqcmaterialusagelist",
"_tgt": "process_processroutetab_get",